<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: WordPress Should Update get_sidebar to Work With Multiple Sidebars</title>
	<atom:link href="http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/feed/" rel="self" type="application/rss+xml" />
	<link>http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars</link>
	<description>BlueDog Web Services</description>
	<lastBuildDate>Wed, 09 May 2012 20:39:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.4-beta3</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Aaron D. Campbell</title>
		<link>http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-156</link>
		<dc:creator>Aaron D. Campbell</dc:creator>
		<pubDate>Tue, 09 Sep 2008 20:12:54 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-156</guid>
		<description>zacheos: This is actually in core now.  There are a couple reasons for using get_sidebar() rather than just including the file.  First, it fires the get_sidebar action, which some plugins use.  However, you COULD manually fire that if you wanted.  The other thing it does is allow some fallbacks, using an unnamed or even default sidebar, rather than failing.  Of course, you could do that too.  The thing is, if you do both, why not just use it? ;-)</description>
		<content:encoded><![CDATA[<p>zacheos: This is actually in core now.  There are a couple reasons for using get_sidebar() rather than just including the file.  First, it fires the get_sidebar action, which some plugins use.  However, you COULD manually fire that if you wanted.  The other thing it does is allow some fallbacks, using an unnamed or even default sidebar, rather than failing.  Of course, you could do that too.  The thing is, if you do both, why not just use it? ;-)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zacheos</title>
		<link>http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-157</link>
		<dc:creator>zacheos</dc:creator>
		<pubDate>Tue, 09 Sep 2008 20:07:42 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-157</guid>
		<description>Some people use a hierarchy method in the naming of the template files to achieve multiple WordPress sidebars, but in my opinion it is too cumbersome for most user’s needs. The method of multiple sidebars for WordPress that I use involves only a very simple PHP snippet added to the template to call the desired sidebar file depending on the area of the site that you are in.</description>
		<content:encoded><![CDATA[<p>Some people use a hierarchy method in the naming of the template files to achieve multiple WordPress sidebars, but in my opinion it is too cumbersome for most user’s needs. The method of multiple sidebars for WordPress that I use involves only a very simple PHP snippet added to the template to call the desired sidebar file depending on the area of the site that you are in.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-155</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 31 Jul 2008 20:00:02 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-155</guid>
		<description>Hi Aaron

Thanks for replying, i currently have 2.5.1 installed locally and unfortuntely im still having the problem, il keep on looking, i must be doing something wrong somewhere.

Thanks

John</description>
		<content:encoded><![CDATA[<p>Hi Aaron</p>
<p>Thanks for replying, i currently have 2.5.1 installed locally and unfortuntely im still having the problem, il keep on looking, i must be doing something wrong somewhere.</p>
<p>Thanks</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron D. Campbell</title>
		<link>http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-154</link>
		<dc:creator>Aaron D. Campbell</dc:creator>
		<pubDate>Tue, 29 Jul 2008 21:16:18 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-154</guid>
		<description>John: You shouldn&#039;t need to do anything, my patch was included into WordPress 2.5 &amp; 2.6, so it&#039;s built in now.</description>
		<content:encoded><![CDATA[<p>John: You shouldn&#8217;t need to do anything, my patch was included into WordPress 2.5 &#038; 2.6, so it&#8217;s built in now.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-153</link>
		<dc:creator>John</dc:creator>
		<pubDate>Tue, 29 Jul 2008 21:07:53 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-153</guid>
		<description>Hi

Can you explain where i should place the above code and anything that i should change please, ive had this problem on 3 themes so far when i come to splitting up the files upon completion of the theme.

Currently for a theme i have 2 sidebars, leftsidebar and rightsidebar.

Ive tried

and

 and for the rightsidebar too of course.

Id be glad if you could explain how i use the above code please.

Thanks

John</description>
		<content:encoded><![CDATA[<p>Hi</p>
<p>Can you explain where i should place the above code and anything that i should change please, ive had this problem on 3 themes so far when i come to splitting up the files upon completion of the theme.</p>
<p>Currently for a theme i have 2 sidebars, leftsidebar and rightsidebar.</p>
<p>Ive tried</p>
<p>and</p>
<p> and for the rightsidebar too of course.</p>
<p>Id be glad if you could explain how i use the above code please.</p>
<p>Thanks</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Baptiste Legrand</title>
		<link>http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-152</link>
		<dc:creator>Baptiste Legrand</dc:creator>
		<pubDate>Thu, 10 Jul 2008 08:56:38 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-152</guid>
		<description>Hello all,
and thanks for the hack.
It seems that since 2.5, you have the ability to specify the sidebar you want to include.
http://codex.wordpress.org/Include_Tags

I prefer your hack though, since i find it more ... elegant.

Good work.
Bye.</description>
		<content:encoded><![CDATA[<p>Hello all,<br />
and thanks for the hack.<br />
It seems that since 2.5, you have the ability to specify the sidebar you want to include.<br />
<a href="http://codex.wordpress.org/Include_Tags" rel="nofollow">http://codex.wordpress.org/Include_Tags</a></p>
<p>I prefer your hack though, since i find it more &#8230; elegant.</p>
<p>Good work.<br />
Bye.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron D. Campbell</title>
		<link>http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-151</link>
		<dc:creator>Aaron D. Campbell</dc:creator>
		<pubDate>Thu, 31 Jan 2008 14:20:50 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-151</guid>
		<description>No problem.  You took the time to find the answer, you deserve the credit!</description>
		<content:encoded><![CDATA[<p>No problem.  You took the time to find the answer, you deserve the credit!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-150</link>
		<dc:creator>John</dc:creator>
		<pubDate>Thu, 31 Jan 2008 01:41:51 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-150</guid>
		<description>Hi Aaron,

Thanks for the help... really appreciate it so much ^^ .. that now I can show that off to my boss *:evil laugh*</description>
		<content:encoded><![CDATA[<p>Hi Aaron,</p>
<p>Thanks for the help&#8230; really appreciate it so much ^^ .. that now I can show that off to my boss *:evil laugh*</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron D. Campbell</title>
		<link>http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-149</link>
		<dc:creator>Aaron D. Campbell</dc:creator>
		<pubDate>Wed, 30 Jan 2008 15:31:40 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-149</guid>
		<description>Yes, if you register multiple sidebars, it will show multiple sidebars.  I usually register them in functions.php (in the theme) like this:
&lt;code lang=&quot;php&quot;&gt;register_sidebar(array(&#039;name&#039;=&gt;&#039;left&#039;));
register_sidebar(array(&#039;name&#039;=&gt;&#039;right&#039;));&lt;/code&gt;
Then in each sidebar, you need to use the name when calling dynamic sidebar, like this:
&lt;code lang=&quot;php&quot;&gt;dynamic_sidebar(&#039;left&#039;);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Yes, if you register multiple sidebars, it will show multiple sidebars.  I usually register them in functions.php (in the theme) like this:<br />
<code lang="php">register_sidebar(array('name'=>'left'));<br />
register_sidebar(array('name'=>'right'));</code><br />
Then in each sidebar, you need to use the name when calling dynamic sidebar, like this:<br />
<code lang="php">dynamic_sidebar('left');</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John</title>
		<link>http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-148</link>
		<dc:creator>John</dc:creator>
		<pubDate>Wed, 30 Jan 2008 11:00:47 +0000</pubDate>
		<guid isPermaLink="false">http://bluedogwebservices.com/wordpress-should-update-get_sidebar-to-work-with-multiple-sidebars/#comment-148</guid>
		<description>Neat... thks for the hack.. I&#039;ve been looking for this. Is there a way to enable the admin&#039;s &#039;widgets&#039; page switch between multiple sidebars ?</description>
		<content:encoded><![CDATA[<p>Neat&#8230; thks for the hack.. I&#8217;ve been looking for this. Is there a way to enable the admin&#8217;s &#8216;widgets&#8217; page switch between multiple sidebars ?</p>
]]></content:encoded>
	</item>
</channel>
</rss>

