<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Erik van de Ven Webdesign &#38; Development</title>
	<atom:link href="http://erikvandeven.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://erikvandeven.com</link>
	<description>This website is dedicated to webdesign and webprogramming. It&#039;s full of tutorials, tips and stories about the web.</description>
	<lastBuildDate>Sat, 05 May 2012 07:51:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>Show Flickr photos in Awkward Showcase slideshow</title>
		<link>http://erikvandeven.com/general/flickr-photos-in-awkward-showcase-slideshow/</link>
		<comments>http://erikvandeven.com/general/flickr-photos-in-awkward-showcase-slideshow/#comments</comments>
		<pubDate>Fri, 16 Sep 2011 13:09:15 +0000</pubDate>
		<dc:creator>only media</dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=684</guid>
		<description><![CDATA[Always wanted to show y0ur Flickr photos in a slideshow? Without requesting a Flickr API code?  In this tutorial I... <a href="http://erikvandeven.com/general/flickr-photos-in-awkward-showcase-slideshow/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>Always wanted to show y0ur <strong>Flickr </strong>photos in a slideshow? Without requesting a Flickr API code?  In this tutorial I will show you how to do that, by making use of the <strong>Awkward Showcase</strong> jQuery <strong>slideshow </strong>plugin and some <strong>jQuery</strong> code. Click on the demo button to watch the demo. If you don&#8217;t want to create your own slideshow by following this tutorial, you can also download the source files by clicking on the download button.</p>
<div class="tut-buttons"><a class="demo" target="_blank" href="http://demo.erikvandeven.com/flickr-photos-in-awkward-showcase-slideshow/">Demo</a><a class="download" target="_blank" href="http://demo.erikvandeven.com/flickr-photos-in-awkward-showcase-slideshow/download.zip">Download</a><div class="clear"></div></div>
<p>The first thing you have to do is downloading the jQuery library an dthe Awkward Showcase plugin. If you&#8217;re using WordPress, there&#8217;s a big chance you don&#8217;t have to include jQuery. You can just try it without including the jQuery library. If the slideshow isn&#8217;t working, you can always include the jQuery library anyway.</p>
<p>Include the jQuery library and Awkward plugin between the &lt;head&gt; tags:</p>
<pre class="brush: jscript; title: ; notranslate">

&lt;script type=&quot;text/javascript&quot;&gt;
 $(document).ready(function(){
 // Our very special jQuery JSON fucntion call to Flickr, gets details
 // of the most recent 20 images
 function callback() {
 $(&quot;#showcase&quot;).awShowcase({
 width:            500,
 height:            312,
 auto:            true,
 interval:        5000,
 continuous:        true,
 loading:        true,
 tooltip_width:        200,
 tooltip_icon_width:    32,
 tooltip_icon_height:    32,
 tooltip_offsetx:    18,
 tooltip_offsety:    0,
 arrows:            true,
 buttons:        false,
 btn_numbers:        false,
 keybord_keys:        false,
 mousetrace:        false,
 pauseonover:        false,
 transition:        'hslide', /* vslide/hslide/fade */
 transition_speed:    500,
 show_caption:        'onload', /* onload/onhover/show */
 thumbnails:        true,
 thumbnails_position:    'outside-first', /* outside-last/outside-first/inside-last/inside-first */
 thumbnails_direction:    'vertical', /* vertical/horizontal */
 thumbnails_slidex:    0 /* 0 = auto / 1 = slide one thumbnail / 2 = slide two thumbnails / etc. */
 });
 }
 $.getJSON(&quot;http://api.flickr.com/services/feeds/photos_public.gne?id=66790267@N03&amp;lang=en-us&amp;format=json&amp;jsoncallback=?&quot;, displayImages);

 function displayImages(data){

 // Start putting together the HTML string
 var htmlString = &quot;&quot;;

 // Now start cycling through our array of Flickr photo details
 $.each(data.items, function(i,item){

 // I only want the ickle square thumbnails
 var sourceSquare = (item.media.m).replace(&quot;_m.jpg&quot;, &quot;_s.jpg&quot;);
 var bigImage = (item.media.m).replace(&quot;_m.jpg&quot;, &quot;_b.jpg&quot;);

 // Here's where we piece together the HTML
 htmlString += '&lt;div&gt;&lt;div&gt;' + item.title + '&lt;/div&gt;';
 htmlString += '&lt;a target=&quot;_blank&quot; href=&quot;' + item.link + '&quot;&gt;&lt;img width=&quot;500px&quot; src=&quot;' + bigImage + '&quot; alt=&quot;' + item.title + '&quot; /&gt;&lt;/a&gt;';
 htmlString += '&lt;div&gt;';
 htmlString += '&lt;img width=&quot;80px&quot; src=&quot;' + sourceSquare + '&quot; alt=&quot;' + item.title + '&quot; /&gt;';
 htmlString += '&lt;div&gt;&lt;/div&gt;';
 htmlString += '&lt;/div&gt;&lt;/div&gt;';

 });

 // Pop our HTML in the #images DIV
 $('#showcase').html(htmlString);
 // Close down the JSON function call
 // now we are calling our own callback function
 if(typeof(callback)==='function'){
 callback.call(this);
 }

 }
 });
&lt;/script&gt;
</pre>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/general/flickr-photos-in-awkward-showcase-slideshow/feed/</wfw:commentRss>
		<slash:comments>51</slash:comments>
		</item>
		<item>
		<title>Bottom page jQuery slide box</title>
		<link>http://erikvandeven.com/jquery/bottom-page-jquery-slide-box/</link>
		<comments>http://erikvandeven.com/jquery/bottom-page-jquery-slide-box/#comments</comments>
		<pubDate>Mon, 12 Sep 2011 13:12:55 +0000</pubDate>
		<dc:creator>only media</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=701</guid>
		<description><![CDATA[Curious how to create such awesome slide box as on mashable.com? In this tutorial I will explain to you how... <a href="http://erikvandeven.com/jquery/bottom-page-jquery-slide-box/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p><strong>Curious how to create such awesome slide box as on mashable.com? In this tutorial I will explain to you how to create such awesome slide-box, to improve the page views on your website. The slide box will trigger people to read another article, recommended by you! Read the article below to create the slide box by yourself. Or watch how it works, by pushing the demo button in the sidebar on the right side of this website. You can also download the source, by pushing the download button on the right side.</strong></p>
<div class="tut-buttons"><a class="demo" target="_blank" href="http://demo.erikvandeven.com/bottom-page-jquery-slide-box/">Demo</a><a class="download" target="_blank" href="http://demo.erikvandeven.com/bottom-page-jquery-slide-box/download.zip">Download</a><div class="clear"></div></div>
<p>So earlier this week I was searching for a solution to get such a lovely <strong>slide box </strong>as <a title="Mashable" href="http://mashable.com" target="_blank">mashable.com</a> shows on their website, on every article page. It slides in from the right when you read the last part of the article. You can see the slide box if you open an article page on mashable.com and scroll to the comment part of the page. Then the slide box will slide-in at the bottom right position of the page.</p>
<p>After a lot of searching and &#8220;googling&#8221; I came on <a title="Tutorial slidebox" href="http://tympanus.net/codrops/2010/04/13/end-of-page-slide-out-box/" target="_blank">this</a> website, where <a title="Writer tutorial" href="http://tympanus.net/codrops/2010/04/13/end-of-page-slide-out-box/#author-info" target="_blank">Mary Lou</a> shows how it&#8217;s possible to make such awesome <strong>slide box</strong>. So, thanks Mary Lou!</p>
<p>First we need to decide from which part of the page we want the slide box to slide-in. At the end of the article? At the end of the comment-list? If you want to show the box when the visitor is at the end of the article, you can give the last paragraph (&lt;p&gt;) an id like &#8220;last&#8221;. See the code below:</p>
<p>Page where you want to show the slidebox (I use single.php in WordPress)</p>
<pre class="brush: xml; title: ; notranslate">
&lt;p id=&quot;last&quot;&gt;
    Some paragraph text
&lt;/p&gt;
</pre>
<p>But when you use WordPress it&#8217;s kind annoying to give every last paragraph an id. And you need the id, to tell jQuery after which paragraph the slide box has to show up. So what I did, was identifying the last paragraph by putting p:last-child in the jQuery code. And that works fine with the latest browsers, which is most important, don&#8217;t you think? If you don&#8217;t know what I mean, just read further. It will be obvious after I showed the jQuery code.</p>
<p>The next thing we have to do is creating the html code of the slide box. So how the slide box has to look like and which information it has to contain. See the code below for an example.</p>
<p>Page where you want to show the slidebox (I use single.php in WordPress)</p>
<pre class="brush: xml; title: ; notranslate">
&lt;div id=&quot;slidebox&quot;&gt;
    &lt;span&gt;Read next&lt;/span&gt;
    &lt;a href=&quot;#&quot; class=&quot;close&quot;&gt;close&lt;/a&gt;
    &lt;div class=&quot;clear&quot;&gt;&lt;/div&gt;
&lt;/div&gt;
</pre>
<p>So, now we&#8217;ve created the html for the slide box and we &#8220;marked&#8221; a point from which height the slide box has to appear (from the p with id &#8220;last&#8221;). The next thing we have to do is announcing the JavaScript files. For the slide box we&#8217;re using jQuery of course, so we have to include the <a title="download jQuery" href="http://jquery.com/" target="_blank">jQuery</a> library. Also we include the effects.js, which we gonna create later. You can place the code below between the head tags in your index file. Or if you are using WordPress, you can place the code in the header.php file. If you are using WordPress, there&#8217;s a great chance you don&#8217;t have to include the jQuery library, because it&#8217;s already included. So first try without the library and if it doesn&#8217;t work, then you can include the jQuery library.</p>
<p>index.php (or header.php in WordPress)</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot; src=&quot;/jquery-1.6.3.min.js&quot;&gt;&lt;/script&gt;
&lt;script type=&quot;text/javascript&quot; src=&quot;effects.js&quot;&gt;&lt;/script&gt;
</pre>
<p>The last thing you have to do, to get the slide box working, is creating the jQuery code.  As you can see in the code below, the code just checks or you already are at the paragraph with id &#8220;last&#8221;. If so, it slides in the slide box. You can copy and paste the code below in the effects.js file.</p>
<p>effects.js</p>
<pre class="brush: jscript; title: ; notranslate">
$(document).ready(function () {
    $(function() {
        $(window).scroll(function(){
            var distanceTop = $('p#last').offset().top - $(window).height();

            if  ($(window).scrollTop() &gt; distanceTop)
                $('#slidebox').animate({'right':'0px'},300);
            else
                $('#slidebox').stop(true).animate({'right':'-430px'},100);
        });
        $('#slidebox .close').bind('click',function(){
            $('#slidebox').stop(true).animate({'right':'-430px'},100, function(){
                $('#slidebox').remove();
            });
            return false;
        });
    });
});
</pre>
<p>And last but not least, you can add some styles to the slidebox. See the stylesheet below.</p>
<p>stylesheet (style.css in WordPress)</p>
<pre class="brush: css; title: ; notranslate">
#slidebox{
    width:350px;
    height:125px;
    padding:10px;
    background-color:#ffffff;
    position:fixed;
    bottom:0px;
    right:-380px;
    -moz-box-shadow:-2px 0px 5px #aaa;
    -webkit-box-shadow:-2px 0px 5px #aaa;
    box-shadow: 0 4px 10px #555555;
}
#slidebox span{
    font-size: 0.9em;
    padding-bottom: 5px;
    text-transform: uppercase;
}
#slidebox h2{
    font-size: 1.0em;
}
#slidebox .next-article{
    margin-top: 5px;
}
#slidebox .next-article a{
    display: inline-block;
}
#slidebox .close{
    background: url(close-card.png) no-repeat;
    display: block;
    height: 15px;
    margin: 3px;
    float: right;
    width: 16px;
    text-indent: -99999px;
}
#slidebox .close:hover{
    background:transparent url(close-card.png) -16px 0px no-repeat;
}
#slidebox strong{
    display: inline-block;
    color: #000000;
    font-family:&quot;Verdana&quot;;
    font-size:1.2em;
    margin-left: 10px;
    vertical-align: top;
    max-width: 240px;
}
</pre>
<p>So, now everything should be working fine. I hope everything is clear now and it helps you to create a nice slide box. I’m sorry for my bad English but I try the best I can to share my jQuery experience with you all.</p>
<p>If you have any questions, just post a comment below and I’ll try to respond as soon as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/jquery/bottom-page-jquery-slide-box/feed/</wfw:commentRss>
		<slash:comments>297</slash:comments>
		</item>
		<item>
		<title>Get HTML5 working in Internet Explorer</title>
		<link>http://erikvandeven.com/html/get-html5-working-in-internet-explorer/</link>
		<comments>http://erikvandeven.com/html/get-html5-working-in-internet-explorer/#comments</comments>
		<pubDate>Tue, 03 May 2011 14:20:07 +0000</pubDate>
		<dc:creator>only media</dc:creator>
				<category><![CDATA[HTML]]></category>
		<category><![CDATA[HTML5]]></category>
		<category><![CDATA[Internet Explorer]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=648</guid>
		<description><![CDATA[Are you using HTML5 already? And it does not work in Internet Explorer 7 and 8? That&#8217;s because Internet Explorer... <a href="http://erikvandeven.com/html/get-html5-working-in-internet-explorer/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p><strong>Are you using HTML5 already? And it does not work in Internet Explorer 7 and 8? That&#8217;s because Internet Explorer 7 and 8 don&#8217;t support HTMl5. But there&#8217;s a workaround with Javascript, I will explain that to you.</strong></p>
<p>There&#8217;s a workaround to get HTML5 working in Internet Explorer 7 and 8. <a title="Communitymx HTML5 in IE7 and 8" rel="nofollow" href="http://www.communitymx.com/content/article.cfm?cid=8C170" target="_blank">Communitymx</a> has posted a solution online</p>
<p>Paste the following code between the head tags</p>
<pre class="brush: plain; title: ; notranslate">
&lt;!--[if IE]&gt;
 &lt;script type=&quot;text/javascript&quot;&gt;
 (function(){
 var html5elements = &quot;address|article|aside|audio|canvas|command|datalist|details|dialog|figure|
figcaption|footer|header|hgroup|keygen|mark|meter|menu|nav|progress|ruby|
section|time|video&quot;.split('|');

 for(var i = 0; i &lt; html5elements.length; i++){
 document.createElement(html5elements[i]);
 }
 }
 )();
 &lt;/script&gt;
 &lt;![endif]--&gt;
</pre>
<p>The code creates an element of every <strong>html5</strong> tag (which is indicated at the &#8220;html5elements&#8221; variable). From now on you can style those tags also with CSS, <strong>IE7</strong> and <strong>IE8</strong> will recognize those.</p>
<p>IMPORTANT: Because IE7 and IE8 don&#8217;t recognize those HTML5 tags officially, they do not know or a tag is a block or inline-element. So you have to give them those styles with CSS.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/html/get-html5-working-in-internet-explorer/feed/</wfw:commentRss>
		<slash:comments>243</slash:comments>
		</item>
		<item>
		<title>Floating social media buttons</title>
		<link>http://erikvandeven.com/jquery/floating-social-media-buttons/</link>
		<comments>http://erikvandeven.com/jquery/floating-social-media-buttons/#comments</comments>
		<pubDate>Thu, 08 Jul 2010 08:25:18 +0000</pubDate>
		<dc:creator>only media</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[floating]]></category>
		<category><![CDATA[media]]></category>
		<category><![CDATA[social]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=250</guid>
		<description><![CDATA[Lots of people ask how to get a floating menu of social media buttons like on mashable.com (or as you... <a href="http://erikvandeven.com/jquery/floating-social-media-buttons/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>Lots of people ask how to get a floating menu of social media buttons like on <a href="http://mashable.com" target="_blank">mashable.com</a> (or as you can see on the left side of this page), I will explain that to you in this tutorial.</p>
<p>The first thing you need to do is including the jQuery library on your WordPress website. If you have installed WP-Cycle or Lightbox (or another plugin that contains jQuery) you already have jQuery included on your WordPress website. If you do not have any plugin that contains the jQuery library and you don&#8217;t know how to include the jQuery library on your webpage, then go to <a href="http://digwp.com/2009/06/including-jquery-in-wordpress-the-right-way/" target="_blank">this</a> page.</p>
<p>The next thing you have to do is implementing the menu, you want to get floating on your web page (in our case those are the widget buttons). See the code below for an example.<span id="more-250"></span></p>
<pre class="brush: php; title: ; notranslate">
&lt;div id=&quot;content&quot;&gt;
    &lt;div id=&quot;share_buttons_wrapper&quot;&gt;
        &lt;div id=&quot;share_buttons_single_page&quot;&gt;
            &lt;div class=&quot;wdt_button&quot;&gt;
                &lt;?php if (function_exists('add_wp_google_buzz')) echo add_wp_google_buzz(); ?&gt;
            &lt;/div&gt;
            &lt;div class=&quot;wdt_button&quot;&gt;
                &lt;?php if (function_exists('tweetmeme')) echo tweetmeme(); ?&gt;
            &lt;/div&gt;
            &lt;div class=&quot;wdt_button&quot;&gt;
                &lt;?php if (function_exists('fbshare_manual')) echo fbshare_manual(); ?&gt;
            &lt;/div&gt;
        &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
</pre>
<p>The wrapper in the code above is necessary! This prevents the menu from going to the absolute left of the web page (when it gets the class <strong>fixed</strong>). The content div is where I put my text (like this tutorial) in. The position relative of the content div is very important, this prevents the buttons from moving. This means that the buttons just stay where the are, no matter what resolution you have. The next thing you have to do is putting the following css code in  your stylesheet:</p>
<pre class="brush: css; title: ; notranslate">
/* Important! Give the content div a position relative */
#content{
 position: relative;
}
#share_buttons_single_page img{
 background: none;
 border: none;
 padding: 0;
 margin: 0;
}
#share_buttons_wrapper {
 left:-120px;
 position: absolute;
 margin-left: 35px;
 width: 280px;
}
#share_buttons_single_page{
 position:absolute;
 text-align: left;
 margin: 0 0 10px 15px;
}
#share_buttons_single_page.fixed {
 position: fixed;
 top:20px;
}
#share_buttons_single_page .wdt_button{
 float:left;
 clear:left;
 margin-bottom: 10px;
}
</pre>
<p>On my website the css style above works fine, but in your case it  could be you have to change some values like <strong>left </strong>and such. The  last thing you have to do is putting the code below between the <strong>head </strong>tags  in <strong>header.php </strong>(this is the header.php file in your theme  folder). But watch out! You have to put it AFTER the wp_head which  includes the other head elements of WordPress. Don&#8217;t you know what I  mean? I mean AFTER the code as you can see below:</p>
<pre class="brush: php; title: ; notranslate">

&lt;?php wp_head(); ?&gt;
</pre>
<p>If you put the following code (see the code below) below the wp_head  (as you can see above) than everything will be working fine. So the last  thing you have to do is adding the following code:</p>
<pre class="brush: jscript; title: ; notranslate">
&lt;script type=&quot;text/javascript&quot;&gt;
jQuery(function () {
    var msie6 = jQuery.browser == 'msie' &amp;&amp; jQuery.browser.version &lt; 7;
    if (!msie6 &amp;&amp; jQuery('.share_buttons_single_page').length != 0) {
        var top = jQuery('#share_buttons_single_page').offset().top - parseFloat(jQuery('#share_buttons_single_page').css('margin-top').replace(/auto/, 0));

        jQuery(window).scroll(function (event) {

            // what the y position of the scroll is

            var y = jQuery(this).scrollTop();
// whether that's below the form
            if (y &gt;= top-20) {
                // if so, ad the fixed class
                jQuery('#share_buttons_single_page').addClass('fixed');
            } else {
                // otherwise remove it
                jQuery('#share_buttons_single_page').removeClass('fixed');
            }
        });
    }
});
&lt;/script&gt;
</pre>
<p>So, now everything should be working fine. As you can see in the code  above, I used msie6 to check or the browser which the visitor is using,  is not Internet Explorer 6. I did this because Internet Explorer 6 does  not support <strong>position:fixed</strong>.</p>
<p>I hope everything is clear now and it helps you to create a floating  menu like on this web page. I&#8217;m sorry for my bad English but I try the  best I can to share my jQuery experience with you all. I could explain  everything in Dutch, but I guess the most of you will not understand  anything of that.</p>
<p>If you have any questions, just post a comment below and I’ll try to   respond as soon as possible.<!--:--><!--:nl--></p>
<p><!--:--></p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/jquery/floating-social-media-buttons/feed/</wfw:commentRss>
		<slash:comments>444</slash:comments>
		</item>
		<item>
		<title>Bigger avatar picture in your Comment list</title>
		<link>http://erikvandeven.com/general/bigger-avatar-picture-in-your-comment-list/</link>
		<comments>http://erikvandeven.com/general/bigger-avatar-picture-in-your-comment-list/#comments</comments>
		<pubDate>Thu, 03 Jun 2010 07:58:02 +0000</pubDate>
		<dc:creator>only media</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Avatar]]></category>
		<category><![CDATA[Comment]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=321</guid>
		<description><![CDATA[Dear visitors, In this short tutorial I explain to you how to make your avatar pictures (in you comment lists),... <a href="http://erikvandeven.com/general/bigger-avatar-picture-in-your-comment-list/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>Dear visitors,<br />
In this short tutorial I explain to you how to make your avatar pictures (in you comment lists), bigger without getting blurry. Sometimes you change the size of the images, by using CSS. That will do the job, if you don&#8217;t want to use avatar pictures, larger then 32&#215;32 pixels. If you do want to use larger pictures then 32&#215;32 pixels and you will resize them using css to, let&#8217;s say to 50&#215;50 pixels, you will get a blurry effect<span id="more-321"></span> (see the below image).</p>
<p><a href="http://erikvandeven.com/wp-content/uploads/2010/06/Untitled-2.png"><img class="alignnone size-full wp-image-570" title="Untitled-2" src="http://erikvandeven.com/wp-content/uploads/2010/06/Untitled-2.png" alt="" width="596" height="266" /></a></p>
<p>Ok, the only thing you have to do is opening comment-template.php (which you can find in the folder <strong>wp-includes</strong>), and change row 1422. On this row you will find the folliwing code:</p>
<pre class="brush: php; title: ; notranslate">

$defaults = array('walker' =&amp;gt; null, 'max_depth' =&amp;gt; '', 'style' =&amp;gt; 'ul', 'callback' =&amp;gt; null, 'end-callback' =&amp;gt; null, 'type' =&amp;gt; 'all',
 'page' =&amp;gt; '', 'per_page' =&amp;gt; '', 'avatar_size' =&amp;gt; 60, 'reverse_top_level' =&amp;gt; null, 'reverse_children' =&amp;gt; '');
</pre>
<p>The only thing you have to do is changing the <strong>avatar_size</strong>, to a size which you want to use for your avatars. So if you want to use an avatar of 60&#215;60 pixels, just change 32 to 60. It&#8217;s not possible to use pictures like 32&#215;60 pixels. Well, that is possible, but only if you use also CSS, but that will not give a very nice effect.</p>
<p>If you do want to use css to change some values or something of the avatar image, you have to use the following class:</p>
<pre class="brush: css; title: ; notranslate">
.commentlist li img.avatar{
border: 3px solid #FFFFFF;
position:relative;
left:-45px;
top: 40px;
}
</pre>
<div>As you can see in the code above, I gave my avatars a nice white border and a relative position. I thought the white border would be nice. Anyway, good luck with this tutorial. If you have any questions, just post a comment below and I’ll try to respond as soon as possible.</div>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/general/bigger-avatar-picture-in-your-comment-list/feed/</wfw:commentRss>
		<slash:comments>474</slash:comments>
		</item>
		<item>
		<title>Create an Archive Page in WordPress</title>
		<link>http://erikvandeven.com/general/create-an-archive-page-for-your-wordpress-blog/</link>
		<comments>http://erikvandeven.com/general/create-an-archive-page-for-your-wordpress-blog/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 09:02:20 +0000</pubDate>
		<dc:creator>only media</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Archive]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=224</guid>
		<description><![CDATA[In this tutorial I explain to you how to make an archive page for your wordpress blog. An archive page... <a href="http://erikvandeven.com/general/create-an-archive-page-for-your-wordpress-blog/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>In this tutorial I explain to you how to make an archive page for your wordpress blog. An archive page allows readers to quickly browse your blog and find what they&#8217;re looking for. There are many plug-ins which allows you to create an archive page for your wordpress blog, very easily. A disadvantage of this solution is that you could have problems with the version of wordpress you have and such. So why should we use a plug-in to create an archive page for us, when it&#8217;s so easy to create an archive page by our selfs? In this tutorial I explain to you how to create an archive page by yourself. <span id="more-224"></span></p>
<h3>Templates</h3>
<p>WordPress allows you to create a template page, so it&#8217;s possible to create a PHP or HTML page by yourself and show it on one of your wordpress pages, so this is what we&#8217;re going to do. If you want to create a template, the only thing you have to do, is putting the following code in the top of your PHP document:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
/**
* Template Name: Archive page
*/
?&gt;
</pre>
<h3>Let&#8217;s get started</h3>
<p>Ok, the first thing we&#8217;re going to do is creating a new .php page in your theme folder (<strong>wp-content/themes/your-theme</strong>). The next thing you have to do is putting the following code in the top of that document:</p>
<pre class="brush: php; title: ; notranslate">
&lt;?php
/**
* Template Name: Archive page
*/
?&gt;
</pre>
<p>So now we&#8217;ve created a template, the next thing we are going to do is putting the rest of the code in that document.<br />
Copy the code as shown below and paste it in your new document.</p>
<pre class="brush: php; title: ; notranslate">
&lt;php
/**
* Template Name: Archive page
*/

get_header(); ?&gt;
&lt;div id=&quot;content&quot;&gt;
    &lt;?php
    query_posts('category_name=news');
    if (have_posts()) : ?&gt;
    &lt;h2&gt;&lt;?php the_title(); ?&gt;&lt;/h2&gt;
    &lt;h3&gt;News&lt;/h3&gt;
    &lt;ul&gt;
        &lt;?php while(have_posts()) : the_post(); ?&gt;
            &lt;li&gt;
                &lt;?php the_time('d.m.y') ?&gt; | &lt;a href=&quot;&lt;?php the_permalink();?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
            &lt;/li&gt;
            &lt;?php endwhile; ?&gt;
        &lt;/ul&gt;
    &lt;?php endif;
    query_posts('category_name=projects');
    if (have_posts()) : ?&gt;
        &lt;h3&gt;Projects&lt;/h3&gt;
        &lt;ul&gt;
        &lt;?php while(have_posts()) : the_post(); ?&gt;
            &lt;li&gt;
                &lt;?php the_time('d.m.y') ?&gt; | &lt;a href=&quot;&lt;?php the_permalink();?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;
            &lt;/li&gt;
        &lt;?php endwhile; ?&gt;
        &lt;/ul&gt;
    &lt;?php endif; ?&gt;
&lt;/div&gt;
&lt;?php get_sidebar(); ?&gt;
&lt;?php get_footer(); ?&gt;
</pre>
<p>As you see I made two paragraphs, one with <strong>News </strong>and one with <strong>Projects</strong>, this is because I needed an archive page with only the news and project articles, apart. So if you want, you can skip one of those.</p>
<p>The last thing you have to do, is log in the admin panel of you wordpress website. Then you create a new page and you choose for a template, as you see there&#8217;s a new template in that list, called <strong>Archive page</strong>, select that template and save the page. Now you&#8217;re done. If you don&#8217;t know how to choose a template in a new page, then look at the image below:</p>
<p><a href="http://erikvandeven.com/wp-content/uploads/2010/04/wordpress-page-template.png"><img class="alignnone size-medium wp-image-576" title="wordpress-page-template" src="http://erikvandeven.com/wp-content/uploads/2010/04/wordpress-page-template-300x179.png" alt="" width="300" height="179" /></a></p>
<p>If you did it right, you will get a archive page something like <a title="Zoowie Archive" href="http://zoowie.nl/archief/" target="_blank">this</a><br />
if you have any questions, just post a comment below and I&#8217;ll try to respond as soon as possible.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/general/create-an-archive-page-for-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>375</slash:comments>
		</item>
		<item>
		<title>Using the More Tag on WordPress Pages</title>
		<link>http://erikvandeven.com/wordpress/using-the-more-tag-on-wordpress-pages/</link>
		<comments>http://erikvandeven.com/wordpress/using-the-more-tag-on-wordpress-pages/#comments</comments>
		<pubDate>Wed, 14 Apr 2010 09:03:02 +0000</pubDate>
		<dc:creator>only media</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[more]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=140</guid>
		<description><![CDATA[If you try to use the &#8220;more&#8221; tag on any page other than your blog&#8217;s homepage, you&#8217;ve probably noticed that... <a href="http://erikvandeven.com/wordpress/using-the-more-tag-on-wordpress-pages/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>If you try to use the &#8220;more&#8221; tag on any page other than your blog&#8217;s homepage, you&#8217;ve probably noticed that it doesn&#8217;t work. In this tutorial, I show you a really simple way to enable the use of the &#8220;more&#8221; tag on other pages in your WordPress blog.</p>
<p>You may have noticed that if you have more than one page on your blog that shows posts, the <strong>more </strong>tag only works on one of those pages. Well I&#8217;ve got the solution, if you are interested then you can go to <a title="Meetingpoint Geldrop-Mierlo" href="http://meetingpoint.erikvandeven.com" target="_blank">meetingpoint.erikvandeven.com</a> for a small demonstration. If you look at the <strong>Nieuws </strong>page of that website and the <strong>Projecten </strong>page, then you&#8217;ll see that both pages have the <strong>Read more </strong>link.</p>
<p>It appears that WordPress uses a variable called $more that says or you are already using the <strong>more </strong>tag on a webpage. The solution to this problem is incredibly simple<span id="more-140"></span>, just add the written below code on the page where you want to use the <strong>more </strong>tag again.</p>
<pre class="brush: php; title: ; notranslate">&lt;?php global $more; $more = FALSE; ?&gt;</pre>
<p>To use the <strong>more </strong>tag correctly in the content you place on a page, you have to it above <strong>the_content</strong>, and then you will get this:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php global $more; $more = FALSE; ?&gt;
&lt;?php the_content('Read more &amp;rarr;'); ?&gt;</pre>
<p>If this post was helpfull to you,or if you still have problems with the more tag, please let me know by posting a comment below.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/wordpress/using-the-more-tag-on-wordpress-pages/feed/</wfw:commentRss>
		<slash:comments>162</slash:comments>
		</item>
		<item>
		<title>How to use WP-Cycle</title>
		<link>http://erikvandeven.com/jquery/how-to-use-wp-cycle/</link>
		<comments>http://erikvandeven.com/jquery/how-to-use-wp-cycle/#comments</comments>
		<pubDate>Fri, 09 Apr 2010 13:44:41 +0000</pubDate>
		<dc:creator>only media</dc:creator>
				<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=97</guid>
		<description><![CDATA[The WP-Cycle plugin allows you to upload images from your computer, which will then be used to generate a jQuery... <a href="http://erikvandeven.com/jquery/how-to-use-wp-cycle/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>The WP-Cycle plugin allows you to upload images from your computer, which will then be used to generate a jQuery Cycle Plugin slideshow of the images.</p>
<p>Each image can also be given a URL which, when the image is active in the slideshow, will be used as an anchor wrapper around the image, turning the image into a link to the URL you specified.</p>
<p>In this tutorial I&#8217;m going to explain you how to use the WP-Cycle plugin in WordPress.</p>
<p>The first thing you have to do is download and installing the WP-Cycle Plugin, from <a title="WP-Cycle plugin" href="http://wordpress.org/extend/plugins/wp-cycle/" target="_blank">this </a>page. Now be sure you&#8217;re logged in the wordpress admin panel of your website and go to Plugins, and open the settings page of the WP-Cycle plugin (as shown below).<span id="more-97"></span></p>
<p><a href="http://erikvandeven.com/wp-content/uploads/2010/04/screenshot_wp-cycle1.png"><img class="alignnone size-medium wp-image-574" title="screenshot_wp-cycle1" src="http://erikvandeven.com/wp-content/uploads/2010/04/screenshot_wp-cycle1-300x137.png" alt="" width="300" height="137" /></a></p>
<p>Now just upload 2 images like I did in the image above and don&#8217;t forget to fill in the <strong>Rotator DIV ID </strong>setting, just enter a name like <strong>slideshow</strong>. Now click on Save Settings and close the window.</p>
<p>The next thing you have to do is opening a PHP file where you want to put your slideshow, let&#8217;s say in the header. So open the header.php in your content folder (/wp-content/themes/YOUR-THEME/header.php) and put this code on a place where you want to put your slideshow:</p>
<pre class="brush: php; title: ; notranslate">&lt;?php wp_cycle(); ?&gt;</pre>
<p>NOW REMEMBER!! If you want to put a div around the wp-cycle, do not use a div with the same ID as you filled in the settings of the WP-Cycle Plugin (in our case that&#8217;s slideshow). Because the plugin puts a div with that name around the slideshow by itself. So if you want to put another div around it, give it an id like header or something.</p>
<p>So, we&#8217;re almost done&#8230; But if you look good, the slideshow doesn&#8217;t look that good in Internet Explorer if you use a background image like me (see my header on this page), to fix that you have to do the following, open up your httpdocs folder, surf to this path:<strong> /wp-content/plugins/wp-cycle/</strong> and open <strong>wp-cycle.php</strong>.</p>
<p>In <strong>wp-cycle.php</strong>, change these lines (row <strong>438 </strong>till <strong>446 </strong>in wp-cycle.php):</p>
<pre class="brush: php; title: ; notranslate">jQuery(document).ready(function($) {
$(&quot;#&lt;?php echo $wp_cycle_settings['div']; ?&gt;&quot;).cycle({
fx: '&lt;?php echo $wp_cycle_settings['effect']; ?&gt;',
timeout: &lt;?php echo ($wp_cycle_settings['delay'] * 1000); ?&gt;,
speed: &lt;?php echo ($wp_cycle_settings['duration'] * 1000); ?&gt;,
pause: 1,
fit: 1
});
});</pre>
<p>To this:</p>
<pre class="brush: php; title: ; notranslate">

jQuery(document).ready(function($) {
$(&quot;#&lt;?php echo $wp_cycle_settings['div']; ?&gt;&quot;).cycle({
fx: '&lt;?php echo $wp_cycle_settings['effect']; ?&gt;',
timeout: &lt;?php echo ($wp_cycle_settings['delay'] * 1000); ?&gt;,
speed: &lt;?php echo ($wp_cycle_settings['duration'] * 1000); ?&gt;,
cleartypeNoBg: true
});
});</pre>
<p>As you see we added <strong>cleartypeNoBg: true</strong>, this is for Internet Explorer, if you don&#8217;t add this line you&#8217;ll see an ugly background in your slideshow (it&#8217;s a bug from Internet Explorer).<br />
Also we deleted the <strong>pause: 1 </strong>and <strong>fit: 1</strong>, because in my opinion they don&#8217;t do anything good to the slideshow, my slideshow stuttered but deleting those lines it fixed the problem.</p>
<p>So, now we&#8217;re done and everything is working fine&#8230; But if you still have some problems with styling your slideshow like I did, then you have to read further because I&#8217;ve got the solution. The wp-cycle plugin adds styles in the index.php, as you all know the styles in the index.php overrides the stylesheet styles. So what you have to do: Go to the wp-cycle folder in the plugins folder of your wordpress blog and open <strong>wp-cycle.php.</strong> Now scroll to the bottom of that file and delete the following code</p>
<pre class="brush: css; title: ; notranslate">margin: 0; padding: 0;
overflow: hidden;</pre>
<p>So now we&#8217;re finally done. If this post didn&#8217;t help you out or you still have problems with the WP-Cycle plugin, don&#8217;t hesitate to put your question in a comment below, then I&#8217;ll try to help you out.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/jquery/how-to-use-wp-cycle/feed/</wfw:commentRss>
		<slash:comments>577</slash:comments>
		</item>
		<item>
		<title>How to move your wordpress blog</title>
		<link>http://erikvandeven.com/wordpress/how-to-move-your-wordpress-blog/</link>
		<comments>http://erikvandeven.com/wordpress/how-to-move-your-wordpress-blog/#comments</comments>
		<pubDate>Tue, 30 Mar 2010 14:56:31 +0000</pubDate>
		<dc:creator>only media</dc:creator>
				<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[move]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=52</guid>
		<description><![CDATA[There are lots of webpages where people explain to you how to move your wordpress blog to another domain, but... <a href="http://erikvandeven.com/wordpress/how-to-move-your-wordpress-blog/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>There are lots of webpages where people explain to you how to move your wordpress blog to another domain, but most of those solutions aren&#8217;t complete or they just doesn&#8217;t work.<br />
That&#8217;s why I&#8217;m going to explain you how to move your wordpress blog, I&#8217;ve tested this solution personally so don&#8217;t be afraid, this will work.</p>
<p>So if you want to move your wordpress blog to another domain or subdomain, follow the instructions<span id="more-52"></span> below.</p>
<h2>5 steps to move your WordPress blog</h2>
<ol>
<li>First you have to make a back-up of your wordpress database, you can do that by pressing export in your PHPMyAdmin and export it to a file.</li>
<li>The next thing you have to do is exporting all your wordpress files to the new domain and import the exported wordpress database file in the new PHPMyAdmin.</li>
<li>Run the SQL queries shown below. So, now you moved the database and webfiles to the new location, you have to change some things in the database. WordPress saves your domain on several places in their database. So you have to change those values, you can do this by running the sql queries as shown below.</li>
</ol>
<pre class="brush: sql; title: ; notranslate">UPDATE wp_posts SET post_content = REPLACE(post_content,&quot;www.old-domain.com&quot;,&quot;www.new-domain.com&quot;);</pre>
<pre class="brush: php; title: ; notranslate">UPDATE wp_posts SET guid = REPLACE(guid,&quot;www.old-domain.com&quot;,&quot;www.new-domain.com&quot;);</pre>
<pre class="brush: sql; title: ; notranslate">UPDATE wp_options SET option_value = REPLACE(option_value,&quot;www.old-domain.com&quot;,&quot;www.new-domain.com&quot;);</pre>
<pre class="brush: sql; title: ; notranslate">UPDATE wp_postmeta SET meta_value = REPLACE(meta_value,&quot;www.old-domain.com&quot;,&quot;www.new-domain.com&quot;);</pre>
<p>So, now you&#8217;re done with moving your wordpress blog. If you still have problems with visiting some webpages on your blog, you have to do the following:<br />
- Log in the wordpress admin panel of your wordpress blog.<br />
- Go to <strong>Settings</strong>.<br />
- Now just click on <strong>Save Changes.</strong></p>
<p>If you still have problems you can ask me by posting a comment below, ofcourse.<br />
I hope you find this post usefull and it helped you like it helped me.<br />
If you find this post usefull, share it by facebook, twitter and/or buzz and help other people with moving there wordpress blog!</p>
<p><strong>UPDATE: </strong>An extra tip: You can also <strong>export </strong>all your content (pages, posts, comments etc.), using the export tool (<strong>Menu -&gt; Tools -&gt; Export</strong>). Maybe that&#8217;s easier for the people who don&#8217;t know how to use the above queries. After that you only have to place a new WordPress installation on the new server or domain, import your theme, import your content and installing the plug-ins you used before. Good luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/wordpress/how-to-move-your-wordpress-blog/feed/</wfw:commentRss>
		<slash:comments>216</slash:comments>
		</item>
		<item>
		<title>Welcome</title>
		<link>http://erikvandeven.com/general/welcome/</link>
		<comments>http://erikvandeven.com/general/welcome/#comments</comments>
		<pubDate>Fri, 26 Mar 2010 13:36:40 +0000</pubDate>
		<dc:creator>only media</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[jQuery]]></category>
		<category><![CDATA[Welcome]]></category>

		<guid isPermaLink="false">http://erikvandeven.com/?p=43</guid>
		<description><![CDATA[Hello and welcome to my weblog! My name is Erik v/d Ven and I&#8217;m a MBO (Vocational Education or Community... <a href="http://erikvandeven.com/general/welcome/" class="more-link">more</a>]]></description>
			<content:encoded><![CDATA[<p>Hello and welcome to my weblog! My name is Erik v/d Ven and I&#8217;m a MBO (Vocational Education or Community College) level 4 student IT-manager at the ROC in Eindhoven (The Netherlands), I just finished my final exams and expect to graduate in the end of June. In my leisure time, I&#8217;m quite busy with building websites for almost 4 years. I&#8217;m studying new design styles, SEO (<a href="http://en.wikipedia.org/wiki/Search_engine_optimization" rel="nofollow">Search engine optimization</a>) and ofcourse Programming languages like PHP, HTML, CSS, MySQL and the framework JQuery, continuously (in my leisure time ofcourse).</p>
<p>After I graduate, I want to follow an HBO education in webdesign. I&#8217;m not sure about which school exactly, but I&#8217;m convinced that I want to make a career in the web business.<span id="more-43"></span></p>
<p>In the future I&#8217;ll post more articles about my new projects and ofcourse tutorials and tips about SEO, JQuery, PHP, HTML, CSS and MySQL. So do you wanna know as much about webdesign as mee? Then this is the right website for you! I hope you enjoy my website.</p>
]]></content:encoded>
			<wfw:commentRss>http://erikvandeven.com/general/welcome/feed/</wfw:commentRss>
		<slash:comments>451</slash:comments>
		</item>
	</channel>
</rss>

