<?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>DivitoDesign &#187; WP Tricks</title>
	<atom:link href="http://divitodesign.com/tag/wp-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>http://divitodesign.com</link>
	<description>Articles, Tutorials and Resources for the Webdesigner</description>
	<lastBuildDate>Fri, 07 Oct 2011 18:47:18 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Separate Comments From Trackbacks</title>
		<link>http://divitodesign.com/blogging/seperate-comments-from-trackbacks/</link>
		<comments>http://divitodesign.com/blogging/seperate-comments-from-trackbacks/#comments</comments>
		<pubDate>Thu, 02 Oct 2008 20:58:39 +0000</pubDate>
		<dc:creator>Stefan Vervoort</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[WP Tricks]]></category>

		<guid isPermaLink="false">http://www.divitodesign.com/?p=731</guid>
		<description><![CDATA[To improve the user experience of the comment section of your blog you can do a couple things. You can add Gravatar support to make the comments more appealing, but there is more. For example, you can separate the real comments from the trackbacks. You often see links or lines of codes mixed up with [...]]]></description>
			<content:encoded><![CDATA[<p>To improve the user experience of the comment section of your blog you can do a couple things. You can <a href="http://www.divitodesign.com/2008/09/add-gravatar-support-to-wordpress-theme/">add Gravatar support</a> to make the comments more appealing, but there is more.</p>
<p>For example, you can separate the real comments from the trackbacks. You often see links or lines of codes mixed up with the original conversation and that can be annoying to the commentator or the people just reading the comments. They might have lost track of the conversation because of the mixture.</p>
<h2>Showing Comments Only</h2>
<p>The trick to show real comments only is very easy to implant with the use of the <strong>comment.php</strong> file. The first thing you need to do is open<em> comments.php</em>.</p>
<p><strong>Step 1.</strong> Locate the following lines of codes:</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> <span class="php-keyword">foreach</span> <span class="php-brackets">(</span><span class="php-var">$comments</span> <span class="php-keyword">as</span> <span class="php-var">$comment</span><span class="php-brackets">)</span> <span class="php-operator">:</span> <span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<p><small>Figure 1.1</small></p>
<p>Right after, you need to add a couple lines that filter real comments from trackbacks and pingbacks. The following codes add that functionality:</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> <span class="php-var">$comment_type</span> <span class="php-operator">=</span> get_comment_type<span class="php-brackets">(</span><span class="php-brackets">)</span>; <span class="php-script-tag">?&gt;<span class="html">
</span>&lt;?php</span> <span class="php-keyword">if</span><span class="php-brackets">(</span><span class="php-var">$comment_type</span> <span class="php-operator">=</span><span class="php-operator">=</span> <span class="php-string">'comment'</span><span class="php-brackets">)</span> <span class="php-brackets">{</span> <span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<p><small>Figure 1.2</small></p>
<p><span id="more-731"></span><br />
You need to close this function or your <em>comments.php</em> file will give an error.</p>
<p><strong>Step 2. </strong>Locate the following line:</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> <span class="php-keyword">endforeach</span>; <span class="php-comment">/* end for each comment */</span> <span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<p><small>Figure 2.1</small></p>
<p>Right <em>before</em> that line close the tag:</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> <span class="php-brackets">}</span> <span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<p><small>Figure 2.2</small></p>
<p>It is really important you past that line <strong>before</strong> the <em>endforeach</em> tag.</p>
<h2>Showing The Trackbacks/Pingbacks</h2>
<p>As of now, you have real comments left by real people only (if you have a proper spam protection installed), no links will interfere with your conversations.</p>
<p>We aren&#8217;t done yet, because we (most likely) want to show appreciation to the blogs that linked to us. We do that by adding trackbacks or pingbacks only too. You have two choices:</p>
<ol>
<li>Before the comments</li>
<li>After the comments</li>
</ol>
<p>Depending on which spot you choose you have to place the following codes somewhere else.</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
</pre>
<pre><span class="php"><span class="php-operator">&lt;</span>h<span class="php-number">3</span><span class="php-operator">&gt;</span>Trackbacks<span class="php-operator">&lt;</span><span class="php-operator">/</span>h<span class="php-number">3</span><span class="php-operator">&gt;</span>
<span class="php-operator">&lt;</span>ol<span class="php-operator">&gt;</span>
<span class="php-script-tag">&lt;?php</span> <span class="php-keyword">foreach</span> <span class="php-brackets">(</span><span class="php-var">$comments</span> <span class="php-keyword">as</span> <span class="php-var">$comment</span><span class="php-brackets">)</span> <span class="php-operator">:</span> <span class="php-script-tag">?&gt;<span class="html">
</span>&lt;?php</span> <span class="php-var">$comment_type</span> <span class="php-operator">=</span> get_comment_type<span class="php-brackets">(</span><span class="php-brackets">)</span>; <span class="php-script-tag">?&gt;<span class="html">
</span>&lt;?php</span> <span class="php-keyword">if</span><span class="php-brackets">(</span><span class="php-var">$comment_type</span> <span class="php-operator">!</span><span class="php-operator">=</span> <span class="php-string">'comment'</span><span class="php-brackets">)</span> <span class="php-brackets">{</span> <span class="php-script-tag">?&gt;<span class="html">
<span class="html-other-element">&lt;li&gt;</span></span>&lt;?php</span> comment_author_link<span class="php-brackets">(</span><span class="php-brackets">)</span> <span class="php-script-tag">?&gt;<span class="html"><span class="html-other-element">&lt;/li&gt;</span>
</span>&lt;?php</span> <span class="php-brackets">}</span> <span class="php-script-tag">?&gt;<span class="html">
</span>&lt;?php</span> <span class="php-keyword">endforeach</span>; <span class="php-script-tag">?&gt;<span class="html">
<span class="html-other-element">&lt;/ol&gt;</span></span></span></span></pre>
</div>
<p><small>Figure 3.1</small></p>
<p><strong>Before the comments.</strong> If you want to place these codes before the comments, locate the following codes. Remember if you are using a customized theme this might differ a little:</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="php"><span class="php-operator">&lt;</span>h<span class="php-number">2</span> id<span class="php-operator">=</span><span class="php-string">&quot;comments&quot;</span><span class="php-operator">&gt;</span><span class="php-script-tag">&lt;?php</span> comments_number<span class="php-brackets">(</span><span class="php-string">'No Responses'</span>, <span class="php-string">'One Response'</span>, <span class="php-string">'% Responses'</span> <span class="php-brackets">)</span>;<span class="php-script-tag">?&gt;<span class="html"> to “</span>&lt;?php</span> the_title<span class="php-brackets">(</span><span class="php-brackets">)</span>; <span class="php-script-tag">?&gt;<span class="html">”<span class="html-other-element">&lt;/h2&gt;</span></span></span></span></pre>
</div>
<p><small>Figure 3.2</small></p>
<p>Add the codes shown in Figure 3.1 right <strong>after</strong> these codes.</p>
<p><strong>After the comments.</strong> If you prefer to put the trackbacks right after the comments (which is in my opinion the best spot to encourage user commenting!) you should locate these codes:</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> <span class="php-keyword">else</span> <span class="php-operator">:</span> <span class="php-comment">// this is displayed if there are no comments so far </span><span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<p><small>Figure 3.3</small></p>
<p>Add the codes shown in Figure 3.1 right <strong>before</strong> these codes.</p>
<hr /><em>Get <a href="http://www.orangiz.com">myspace comments</a> for free</em><br />
<hr />
]]></content:encoded>
			<wfw:commentRss>http://divitodesign.com/blogging/seperate-comments-from-trackbacks/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Add Gravatar Support To WordPress Theme</title>
		<link>http://divitodesign.com/blogging/add-gravatar-support-to-wordpress-theme/</link>
		<comments>http://divitodesign.com/blogging/add-gravatar-support-to-wordpress-theme/#comments</comments>
		<pubDate>Wed, 24 Sep 2008 21:40:41 +0000</pubDate>
		<dc:creator>Stefan Vervoort</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[WP Tricks]]></category>

		<guid isPermaLink="false">http://www.divitodesign.com/?p=653</guid>
		<description><![CDATA[This small tutorial will tell you exactly how to add Gravatar support to your WordPress theme. Gravatars are used to spice up up your comments with a small &#8220;globally recognized avatar&#8221; the commentator chooses to use with an email address. A Gravatar (like used above) is coupled to an email address you registered at gravatars.com. [...]]]></description>
			<content:encoded><![CDATA[<p>This small tutorial will tell you exactly how to <strong>add Gravatar support</strong> to your WordPress theme. <a href="http://www.gravatar.com/">Gravatars</a> are used to spice up up your comments with a small &#8220;globally recognized avatar&#8221; the commentator chooses to use with an email address.</p>
<p><img class="alignnone" src="http://www.divitodesign.com/wp-content/uploads/2008/09/gravatars.jpg" alt="" width="257" height="48" /></p>
<p>A Gravatar (like used above) is coupled to an email address you registered at <a href="http://www.gravatar.com/">gravatars.com</a>. If you want to install Gravatars to your theme registering a email address is the first thing you should do.</p>
<h2>Install Gravatars To Your Theme</h2>
<p>Fortunately Gravatars have been included in the WordPress core codes just yet, so we don&#8217;t need any additional plugins to make everything run smoothly.</p>
<ul>
<li>First you have to make sure Gravatars are activated. Navigate to <strong>Settings &gt; Discussion </strong>in the WP-admin section of your blog. Scroll down to <strong>Avatars</strong> and choose the settings you like.</li>
<li>Open up <strong>comments.php</strong></li>
<li>Find:</li>
</ul>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="html"><span class="html-special-char">&amp;lt;</span>ol class=&quot;commentlist&quot;<span class="html-special-char">&amp;gt;</span></span></pre>
</div>
<ul>
<li>The codes below are &#8216;how your comment will be shown when listed&#8217;. You can place your Gravatar where you want. I suggest you choose a spot close to the commentators name.</li>
<li>Codes:</li>
</ul>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="php"><span class="php-operator">&lt;</span>img src<span class="php-operator">=</span><span class="php-string">&quot;&lt;?php gravatar(); ?&gt;&quot;</span> alt<span class="php-operator">=</span><span class="php-string">&quot;Gravatar&quot;</span> <span class="php-operator">/</span><span class="php-operator">&gt;</span></span></pre>
</div>
<ul>
<li>We can add parameters to this <a href="http://codex.wordpress.org/Template_Tags/">template tag</a>:</li>
</ul>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> gravatar<span class="php-brackets">(</span><span class="php-string">&quot;rating&quot;</span>, <span class="php-string">&quot;size&quot;</span>, <span class="php-string">&quot;default&quot;</span>, <span class="php-string">&quot;border&quot;</span><span class="php-brackets">)</span>; <span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<ul>
<li><strong>Rating</strong> &#8211; Rate which Gravatars to show:
<ul>
<li> G — Suitable for all audiences</li>
<li>PG — Possibly offensive, usually for audiences 13 and above</li>
<li>R — Intended for adult audiences above 17</li>
<li>X — Even more mature than above</li>
</ul>
</li>
<li><strong>Size</strong> &#8211; Default size of your Gravatar is 80x80px. Change that to anything you like.</li>
<li><strong>Default </strong>- The default avatar when the email address isn&#8217;t registered at Gravatar.com. Use an URL here.</li>
<li><strong>Border</strong> &#8211; If you want to have a border around your Gravatar, change this. Add a HEX color code to change the color of your border.</li>
</ul>
<h2>Use Right Away</h2>
<p>A fully functional Gravatar function you can use right away is below:</p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
</pre>
<pre><span class="php"><span class="php-operator">&lt;</span>img src<span class="php-operator">=</span><span class="php-string">&quot;&lt;?php gravatar(&quot;</span>R<span class="php-string">&quot;, &quot;</span><span class="php-number">3</span><span class="php-number">2</span><span class="php-string">&quot;, &quot;</span><span class="php-string">&quot;, CCCCCC); ?&gt;&quot;</span> alt<span class="php-operator">=</span><span class="php-string">&quot;Gravatar&quot;</span> <span class="php-operator">/</span><span class="php-operator">&gt;</span></span></pre>
</div>
]]></content:encoded>
			<wfw:commentRss>http://divitodesign.com/blogging/add-gravatar-support-to-wordpress-theme/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>Multiple Sidebars With WordPress Widgets</title>
		<link>http://divitodesign.com/blogging/multiple-sidebars-with-wordpress-widgets/</link>
		<comments>http://divitodesign.com/blogging/multiple-sidebars-with-wordpress-widgets/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 20:27:08 +0000</pubDate>
		<dc:creator>Stefan Vervoort</dc:creator>
				<category><![CDATA[Blogging]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[WP Tricks]]></category>

		<guid isPermaLink="false">http://www.divitodesign.com/?p=499</guid>
		<description><![CDATA[As I am working on a new WordPress theme I faced a problem with my sidebar and the widgets. This theme doesn&#8217;t run on one sidebar, but two. I didn&#8217;t know how to create more dynamic sidebars. I asked Google, but there wasn&#8217;t a clear article that helped me along the way and I guess [...]]]></description>
			<content:encoded><![CDATA[<p>As I am working on a new WordPress theme I faced a problem with my sidebar and the widgets. This theme doesn&#8217;t run on one sidebar, but<strong> two</strong>. I didn&#8217;t know how to create more dynamic sidebars.</p>
<p><img class="alignnone size-full wp-image-517" title="multiple-wordpress-widgets" src="http://www.divitodesign.com/wp-content/uploads/2008/09/multiple-wordpress-widgets.jpg" alt="" width="301" height="141" /></p>
<p>I asked <a href="http://www.google.com/search?q=more+widget+sidebars">Google</a>, but there wasn&#8217;t a clear article that helped me along the way and I guess more people are struggling with this situation. After some research I finally found the solution on <a href="http://orangescale.com/juicy/200606/multiple-sidebars-in-wordpress/">OrangeScale</a>.</p>
<h2>Widgets Core</h2>
<p>To let WordPress Widgets preform on your blog, you should have the <strong>functions.php</strong> file ready with the right codes. This widget codes in the functions.php file usually looks like this:</p>
<h3>PHP</h3>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
4
5
6
7
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span>
<span class="php-keyword">if</span> <span class="php-brackets">(</span> <span class="php-function">function_exists</span><span class="php-brackets">(</span><span class="php-string">'register_sidebar'</span><span class="php-brackets">)</span> <span class="php-brackets">)</span>
register_sidebar<span class="php-brackets">(</span><span class="php-brackets">)</span>;
<span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<p><span id="more-499"></span></p>
<p>To give your WordPress installation more sidebars, we have to extend these codes. We have to add more &#8216;options&#8217; and we do that by adding more codes to the function and by given those seperated functions names like <span style="text-decoration: underline;">Sidebar 1</span> and <span style="text-decoration: underline;">Sidebar 2</span>.</p>
<h3>PHP</h3>
<p><span style="text-decoration: underline;">Sidebar 1</span></p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span>
<span class="php-keyword">if</span> <span class="php-brackets">(</span> <span class="php-function">function_exists</span><span class="php-brackets">(</span><span class="php-string">'register_sidebar'</span><span class="php-brackets">)</span> <span class="php-brackets">)</span>
register_sidebar<span class="php-brackets">(</span><span class="php-keyword">array</span><span class="php-brackets">(</span><span class="php-string">'name'</span><span class="php-operator">=</span><span class="php-operator">&gt;</span><span class="php-string">'Sidebar 1'</span>,
<span class="php-string">'before_widget'</span> <span class="php-operator">=</span><span class="php-operator">&gt;</span> <span class="php-string">'&lt;li id=&quot;%1$s&quot; class=&quot;widget %2$s&quot;&gt;'</span>,
<span class="php-string">'after_widget'</span> <span class="php-operator">=</span><span class="php-operator">&gt;</span> <span class="php-string">'&lt;/li&gt;'</span>,
<span class="php-string">'before_title'</span> <span class="php-operator">=</span><span class="php-operator">&gt;</span> <span class="php-string">'&lt;h2 class=&quot;widgettitle&quot;&gt;'</span>,
<span class="php-string">'after_title'</span> <span class="php-operator">=</span><span class="php-operator">&gt;</span> <span class="php-string">'&lt;/h2&gt;'</span>,
<span class="php-brackets">)</span><span class="php-brackets">)</span>;</span></pre>
</div>
<p><span style="text-decoration: underline;">Sidebar 2</span></p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span>
<span class="php-keyword">if</span> <span class="php-brackets">(</span> <span class="php-function">function_exists</span><span class="php-brackets">(</span><span class="php-string">'register_sidebar'</span><span class="php-brackets">)</span> <span class="php-brackets">)</span>
register_sidebar<span class="php-brackets">(</span><span class="php-keyword">array</span><span class="php-brackets">(</span><span class="php-string">'name'</span><span class="php-operator">=</span><span class="php-operator">&gt;</span><span class="php-string">'Sidebar 2'</span>,
<span class="php-string">'before_widget'</span> <span class="php-operator">=</span><span class="php-operator">&gt;</span> <span class="php-string">'&lt;li id=&quot;%1$s&quot; class=&quot;widget %2$s&quot;&gt;'</span>,
<span class="php-string">'after_widget'</span> <span class="php-operator">=</span><span class="php-operator">&gt;</span> <span class="php-string">'&lt;/li&gt;'</span>,
<span class="php-string">'before_title'</span> <span class="php-operator">=</span><span class="php-operator">&gt;</span> <span class="php-string">'&lt;h2 class=&quot;widgettitle&quot;&gt;'</span>,
<span class="php-string">'after_title'</span> <span class="php-operator">=</span><span class="php-operator">&gt;</span> <span class="php-string">'&lt;/h2&gt;'</span>,
<span class="php-brackets">)</span><span class="php-brackets">)</span>;</span></pre>
</div>
<h2>Name your Sidebar</h2>
<p>To get more sidebars you need to name them and in our case, we will call them <strong>Sidebar 1</strong>, <strong>Sidebar 2</strong> etc. as many as you would like. Here is how you do that:</p>
<h3>PHP</h3>
<p>You are able to change the values of <em>before_widget</em>, <em>after_widget</em>, <em>before_title</em> and <em>after_title</em> to whatever you like. These are just the example of what I use myself.</p>
<h2>How to insert Multiple Widgets to your Theme</h2>
<p>Open up the file you would like to have your widgets shown. When you already have one sidebar in place you will find the following codes:</p>
<h3>PHP</h3>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> <span class="php-keyword">if</span> <span class="php-brackets">(</span> <span class="php-operator">!</span><span class="php-function">function_exists</span><span class="php-brackets">(</span><span class="php-string">'dynamic_sidebar'</span><span class="php-brackets">)</span> <span class="php-operator">|</span><span class="php-operator">|</span> <span class="php-operator">!</span>dynamic_sidebar<span class="php-brackets">(</span><span class="php-brackets">)</span> <span class="php-brackets">)</span> <span class="php-operator">:</span> <span class="php-script-tag">?&gt;<span class="html">
</span>&lt;?php</span> <span class="php-keyword">endif</span>;<span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<p>Now, find all the places you would like to add widgets. Insert <span style="text-decoration: underline;">Sidebar 1</span> where sidebar 1 should be located, and so on. Here we go:</p>
<h3>PHP</h3>
<p><span style="text-decoration: underline;">Sidebar 1<br />
</span>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> <span class="php-keyword">if</span> <span class="php-brackets">(</span> <span class="php-operator">!</span><span class="php-function">function_exists</span><span class="php-brackets">(</span><span class="php-string">'dynamic_sidebar'</span><span class="php-brackets">)</span> <span class="php-operator">|</span><span class="php-operator">|</span> <span class="php-operator">!</span>dynamic_sidebar<span class="php-brackets">(</span><span class="php-string">'Sidebar 1'</span><span class="php-brackets">)</span> <span class="php-brackets">)</span> <span class="php-operator">:</span> <span class="php-script-tag">?&gt;<span class="html">
</span>&lt;?php</span> <span class="php-keyword">endif</span>; <span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<p><span style="text-decoration: underline;">Sidebar 2</span></p>
<div class="fvch-code">
<pre class="fvch-line-numbers">1
2
3
</pre>
<pre><span class="php"><span class="php-script-tag">&lt;?php</span> <span class="php-keyword">if</span> <span class="php-brackets">(</span> <span class="php-operator">!</span><span class="php-function">function_exists</span><span class="php-brackets">(</span><span class="php-string">'dynamic_sidebar'</span><span class="php-brackets">)</span> <span class="php-operator">|</span><span class="php-operator">|</span> <span class="php-operator">!</span>dynamic_sidebar<span class="php-brackets">(</span><span class="php-string">'Sidebar 2'</span><span class="php-brackets">)</span> <span class="php-brackets">)</span> <span class="php-operator">:</span> <span class="php-script-tag">?&gt;<span class="html">
</span>&lt;?php</span> <span class="php-keyword">endif</span>; <span class="php-script-tag">?&gt;<span class="html"></span></span></span></pre>
</div>
<h2>Ready</h2>
<p>After you&#8217;ve saved your file you will have two dynamic sidebars you are able to edit via WordPress Widgets. Of course, al lot more sidebars can be created and all the creativity that follows next, that&#8217;s up to you. <a href="http://www.divitodesign.com/2008/04/style-wordpress-widgets-with-css/">Do you want to style your widgets now?</a></p>
]]></content:encoded>
			<wfw:commentRss>http://divitodesign.com/blogging/multiple-sidebars-with-wordpress-widgets/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
		</item>
	</channel>
</rss>

