<?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: Creating a dynamic WordPress sidebar</title>
	<atom:link href="http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/</link>
	<description>Tips on blogging, design and the IT industry.</description>
	<lastBuildDate>Mon, 22 Mar 2010 04:11:20 -0500</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: christopher</title>
		<link>http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/comment-page-1/#comment-7972</link>
		<dc:creator>christopher</dc:creator>
		<pubDate>Sun, 21 Feb 2010 21:44:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/2007/08/17/creating-a-dynamic-wordpress-sidebar/#comment-7972</guid>
		<description>I tried this and it works but I&#039;m also getting the page ID showing up on the page above the sidebar.

Anyone else having this probelm or know of a solution for it?</description>
		<content:encoded><![CDATA[<p>I tried this and it works but I&#8217;m also getting the page ID showing up on the page above the sidebar.</p>
<p>Anyone else having this probelm or know of a solution for it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Sanders</title>
		<link>http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/comment-page-1/#comment-7566</link>
		<dc:creator>John Sanders</dc:creator>
		<pubDate>Wed, 11 Nov 2009 18:37:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/2007/08/17/creating-a-dynamic-wordpress-sidebar/#comment-7566</guid>
		<description>Fantastic tip, Ryan!
This has bugged me about sidebars from day one and I just assumed it was impossible for the post section to talk to the sidebar section
I thought about using javascript to peel things out after the fact if the sidebar was too tall.  Your way is so much simpler...</description>
		<content:encoded><![CDATA[<p>Fantastic tip, Ryan!<br />
This has bugged me about sidebars from day one and I just assumed it was impossible for the post section to talk to the sidebar section<br />
I thought about using javascript to peel things out after the fact if the sidebar was too tall.  Your way is so much simpler&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/comment-page-1/#comment-6868</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 06 Aug 2009 00:25:47 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/2007/08/17/creating-a-dynamic-wordpress-sidebar/#comment-6868</guid>
		<description>I&#039;ve no experience developing themes for WP.com, but if they let you use PHP just as you can with self-hosted WP, then yes it should.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve no experience developing themes for WP.com, but if they let you use PHP just as you can with self-hosted WP, then yes it should.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andrew</title>
		<link>http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/comment-page-1/#comment-6866</link>
		<dc:creator>andrew</dc:creator>
		<pubDate>Wed, 05 Aug 2009 14:40:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/2007/08/17/creating-a-dynamic-wordpress-sidebar/#comment-6866</guid>
		<description>Hi, this sounds like it has great possibilities. forgive my ignorance, but would this work with wordpress.COM or only .ORG?</description>
		<content:encoded><![CDATA[<p>Hi, this sounds like it has great possibilities. forgive my ignorance, but would this work with wordpress.COM or only .ORG?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to make the most out of your sidebar &#171; Internet Turnkey Websites</title>
		<link>http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/comment-page-1/#comment-6650</link>
		<dc:creator>How to make the most out of your sidebar &#171; Internet Turnkey Websites</dc:creator>
		<pubDate>Fri, 08 May 2009 00:23:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/2007/08/17/creating-a-dynamic-wordpress-sidebar/#comment-6650</guid>
		<description>[...] at Dao By Design came up with a very clever solution for [...]</description>
		<content:encoded><![CDATA[<p>[...] at Dao By Design came up with a very clever solution for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to make the most out of your sidebar &#8212; WPCandy &#8212; WordPress Themes, Plugins, Tips, and Tricks</title>
		<link>http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/comment-page-1/#comment-6593</link>
		<dc:creator>How to make the most out of your sidebar &#8212; WPCandy &#8212; WordPress Themes, Plugins, Tips, and Tricks</dc:creator>
		<pubDate>Wed, 08 Apr 2009 11:00:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/2007/08/17/creating-a-dynamic-wordpress-sidebar/#comment-6593</guid>
		<description>[...] at Dao By Design came up with a very clever solution for [...]</description>
		<content:encoded><![CDATA[<p>[...] at Dao By Design came up with a very clever solution for [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Derek Pollard</title>
		<link>http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/comment-page-1/#comment-6572</link>
		<dc:creator>Derek Pollard</dc:creator>
		<pubDate>Sat, 28 Mar 2009 10:42:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/2007/08/17/creating-a-dynamic-wordpress-sidebar/#comment-6572</guid>
		<description>Many thanks for this information.  I have just been implementing a dynamic sidebar for one of our sites but was struggling passing the variables through.  Your example of changing the method of including sidebar.php made all the difference.

Thanks,

Derek.</description>
		<content:encoded><![CDATA[<p>Many thanks for this information.  I have just been implementing a dynamic sidebar for one of our sites but was struggling passing the variables through.  Your example of changing the method of including sidebar.php made all the difference.</p>
<p>Thanks,</p>
<p>Derek.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Webseiten Optimierung</title>
		<link>http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/comment-page-1/#comment-1258</link>
		<dc:creator>Webseiten Optimierung</dc:creator>
		<pubDate>Fri, 21 Dec 2007 20:33:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/2007/08/17/creating-a-dynamic-wordpress-sidebar/#comment-1258</guid>
		<description>Hallo danke fuer die Infos. Wie kann ich in deinem Blog noch weiter stoebern</description>
		<content:encoded><![CDATA[<p>Hallo danke fuer die Infos. Wie kann ich in deinem Blog noch weiter stoebern</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan</title>
		<link>http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/comment-page-1/#comment-932</link>
		<dc:creator>Ryan</dc:creator>
		<pubDate>Thu, 13 Dec 2007 14:23:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/2007/08/17/creating-a-dynamic-wordpress-sidebar/#comment-932</guid>
		<description>Hey Alex, make sure you change the code for where your main template calls the sidebar. By default WP uses its own built-in function to load the sidebar.php file. Because of this variables set in the main files (index.php, single.php, page.php, etc.) don&#039;t carry over to the sidebar.

You need to change it to:
[?php include (TEMPLATEPATH . ‘/sidebar.php’); ?]

(obviously changing the square brackets for their sharper cousins).

Let me know if that works for you.</description>
		<content:encoded><![CDATA[<p>Hey Alex, make sure you change the code for where your main template calls the sidebar. By default WP uses its own built-in function to load the sidebar.php file. Because of this variables set in the main files (index.php, single.php, page.php, etc.) don&#8217;t carry over to the sidebar.</p>
<p>You need to change it to:<br />
[?php include (TEMPLATEPATH . ‘/sidebar.php’); ?]</p>
<p>(obviously changing the square brackets for their sharper cousins).</p>
<p>Let me know if that works for you.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Alex</title>
		<link>http://www.daobydesign.com/blog/2007/08/creating-a-dynamic-wordpress-sidebar/comment-page-1/#comment-927</link>
		<dc:creator>Alex</dc:creator>
		<pubDate>Thu, 13 Dec 2007 09:45:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.daobydesign.com/blog/2007/08/17/creating-a-dynamic-wordpress-sidebar/#comment-927</guid>
		<description>This is just what i was looking for. I tried to put de content words counter as you said. Also i have put the conditional tags in my isdebar, but it seems that the variable $xxx is not being received in my sidebar. 

here is my code :

single.php







&lt;div class=&quot;post&quot; id=&quot;post-&quot;&gt;




&lt;a href=&quot;&quot; rel=&quot;bookmark&quot; title=&quot;&quot;&gt;&lt;/a&gt;

categoria:  &#124;  























	














main_right_home.php (sidebar)


&#160;





  3500) { ?&gt;

&lt;img src=&quot;/images/masleidos.jpg&quot; alt=&quot;&quot; /&gt;  

&lt;img src=&quot;/images/artnuevos.jpg&quot; alt=&quot;&quot; /&gt; 


&lt;img src=&quot;/images/side-top-bot.jpg&quot; alt=&quot;&quot; /&gt;
  

   

	 
 

 &lt;?php if (is_home() &#124;&#124; $contlen 
&lt;img src=&quot;/images/artnuevos.jpg&quot; alt=&quot;&quot; /&gt; 

	
	&lt;img src=&quot;/images/side-top-bot.jpg&quot; alt=&quot;&quot; /&gt;
	  

     
  Can you helpme to resolve this?

Thanks in advance.</description>
		<content:encoded><![CDATA[<p>This is just what i was looking for. I tried to put de content words counter as you said. Also i have put the conditional tags in my isdebar, but it seems that the variable $xxx is not being received in my sidebar. </p>
<p>here is my code :</p>
<p>single.php</p>
<p>&lt;div class=&#8221;post&#8221; id=&#8221;post-&#8221;&gt;</p>
<p>&lt;a href=&#8221;" rel=&#8221;bookmark&#8221; title=&#8221;"&gt;</p>
<p>categoria:  |  </p>
<p>main_right_home.php (sidebar)</p>
<p>&nbsp;</p>
<p>  3500) { ?&gt;</p>
<p>&lt;img src=&#8221;/images/masleidos.jpg&#8221; alt=&#8221;" /&gt;  </p>
<p>&lt;img src=&#8221;/images/artnuevos.jpg&#8221; alt=&#8221;" /&gt; </p>
<p>&lt;img src=&#8221;/images/side-top-bot.jpg&#8221; alt=&#8221;" /&gt;</p>
<p> &lt;?php if (is_home() || $contlen<br />
&lt;img src=&#8221;/images/artnuevos.jpg&#8221; alt=&#8221;" /&gt; </p>
<p>	&lt;img src=&#8221;/images/side-top-bot.jpg&#8221; alt=&#8221;" /&gt;</p>
<p>  Can you helpme to resolve this?</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
