<?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/"
xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
xmlns:rawvoice="http://www.rawvoice.com/rawvoiceRssModule/"
> <channel><title>Comments on: How to make the most out of your sidebar</title> <atom:link href="http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar/feed" rel="self" type="application/rss+xml" /><link>http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=how-to-make-the-most-out-of-your-sidebar</link> <description>A blog all about WordPress. Yes, we&#039;re a bit meta.</description> <lastBuildDate>Thu, 24 May 2012 19:56:20 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <item><title>By: Roman</title><link>http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar#comment-99948</link> <dc:creator>Roman</dc:creator> <pubDate>Thu, 12 May 2011 11:19:58 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/?p=1719#comment-99948</guid> <description>Thank you for this great post, I&#039;m trying to use it on my site.
In the second code set, you forgot an &quot;;&quot; after &lt;code&gt;get_sidebar()&lt;/code&gt;.But anyway, very useful code!
Greetings</description> <content:encoded><![CDATA[<p>Thank you for this great post, I&#8217;m trying to use it on my site.<br
/> In the second code set, you forgot an &#8220;;&#8221; after <code>get_sidebar()</code>.</p><p>But anyway, very useful code!<br
/> Greetings</p> ]]></content:encoded> </item> <item><title>By: Danielle</title><link>http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar#comment-4556</link> <dc:creator>Danielle</dc:creator> <pubDate>Wed, 28 Jul 2010 00:23:25 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/?p=1719#comment-4556</guid> <description>Is it possible to assign a sidebar to more than one page at a time?example:
if (is_page(’About, Products, Contact’)) {
get_sidebar(’about’); // includes sidebar-about.phpThe above example doesn&#039;t work, but is there a way to do it that would work?</description> <content:encoded><![CDATA[<p>Is it possible to assign a sidebar to more than one page at a time?</p><p>example:<br
/> if (is_page(’About, Products, Contact’)) {<br
/> get_sidebar(’about’); // includes sidebar-about.php</p><p>The above example doesn&#8217;t work, but is there a way to do it that would work?</p> ]]></content:encoded> </item> <item><title>By: How to make wordpress sidebars only appear on certain pages for search engine optimization &#124; Ken H. Judy</title><link>http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar#comment-4555</link> <dc:creator>How to make wordpress sidebars only appear on certain pages for search engine optimization &#124; Ken H. Judy</dc:creator> <pubDate>Thu, 07 Jan 2010 02:01:41 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/?p=1719#comment-4555</guid> <description>[...] to some sample code from wpcandy.com, this was trivially easy to [...]</description> <content:encoded><![CDATA[<p>[...] to some sample code from wpcandy.com, this was trivially easy to [...]</p> ]]></content:encoded> </item> <item><title>By: Jack Yan</title><link>http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar#comment-4554</link> <dc:creator>Jack Yan</dc:creator> <pubDate>Thu, 31 Dec 2009 23:15:45 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/?p=1719#comment-4554</guid> <description>Fantastic! There are a lot of help pages out there for people who do not have a functions.php in their default Wordpress skin. Yours is the first I have found with a proper hack for those of us who do. Thank you!</description> <content:encoded><![CDATA[<p>Fantastic! There are a lot of help pages out there for people who do not have a functions.php in their default WordPress skin. Yours is the first I have found with a proper hack for those of us who do. Thank you!</p> ]]></content:encoded> </item> <item><title>By: 100+ Massive Wordpress Tutorial Collection&#160;&#124;&#160;tripwire magazine</title><link>http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar#comment-4553</link> <dc:creator>100+ Massive Wordpress Tutorial Collection&#160;&#124;&#160;tripwire magazine</dc:creator> <pubDate>Mon, 30 Nov 2009 18:36:32 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/?p=1719#comment-4553</guid> <description>[...] How to make the most out of your sidebar When designing a WordPress site, many people overlook the power of the sidebar. It’s an excellent way to display information, and an even better way to display page-relevant information that doesn’t really fit into the “content” area of that page. Better yet, using dynamic content for the sidebar will make sure the user pays attention to it, since it (generally) displays less cluttered information and is obviously relevant to the page the user is currently browsing. Examples would be posts in the same category, author information, or specific ads for specific categories. What I will cover here today are various methods of displaying dynamic content for your sidebar. I know a few myself, but I also went ahead and looked for various other methods . New Page Menu in WordPress 2.7 Another ustin Tadlock article shows you how the new function wp_page_menu() removes a lot of the work you may do with using wp_list_pages() function. [...]</description> <content:encoded><![CDATA[<p>[...] How to make the most out of your sidebar When designing a WordPress site, many people overlook the power of the sidebar. It’s an excellent way to display information, and an even better way to display page-relevant information that doesn’t really fit into the “content” area of that page. Better yet, using dynamic content for the sidebar will make sure the user pays attention to it, since it (generally) displays less cluttered information and is obviously relevant to the page the user is currently browsing. Examples would be posts in the same category, author information, or specific ads for specific categories. What I will cover here today are various methods of displaying dynamic content for your sidebar. I know a few myself, but I also went ahead and looked for various other methods . New Page Menu in WordPress 2.7 Another ustin Tadlock article shows you how the new function wp_page_menu() removes a lot of the work you may do with using wp_list_pages() function. [...]</p> ]]></content:encoded> </item> <item><title>By: Troy</title><link>http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar#comment-4551</link> <dc:creator>Troy</dc:creator> <pubDate>Fri, 11 Sep 2009 22:01:01 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/?p=1719#comment-4551</guid> <description>I am using a theme with 3 sidebars. A top sidebar and two sidebars below the top one. I would like to use a different top sidebar for each category so I can have different videos and other information specific to that category.I&#039;m missing something. Which Wordpress file do I add this code to and where in the page do I insert the code?</description> <content:encoded><![CDATA[<p>I am using a theme with 3 sidebars. A top sidebar and two sidebars below the top one. I would like to use a different top sidebar for each category so I can have different videos and other information specific to that category.</p><p> I&#8217;m missing something. Which WordPress file do I add this code to and where in the page do I insert the code?</p> ]]></content:encoded> </item> <item><title>By: stephen-turner.net &#187; links for 2009-04-16</title><link>http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar#comment-4550</link> <dc:creator>stephen-turner.net &#187; links for 2009-04-16</dc:creator> <pubDate>Thu, 16 Apr 2009 18:29:38 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/?p=1719#comment-4550</guid> <description>[...] How to make the most out of your sidebar — WPCandy — WordPress Themes, Plugins, Tips, and Tricks Significant page for Wordpress coding, especially &quot;different sidebar for each page&quot; section. Use this for work. (tags: wordpress development programming)     Share and Enjoy: [...]</description> <content:encoded><![CDATA[<p>[...] How to make the most out of your sidebar — WPCandy — WordPress Themes, Plugins, Tips, and Tricks Significant page for WordPress coding, especially &quot;different sidebar for each page&quot; section. Use this for work. (tags: wordpress development programming)     Share and Enjoy: [...]</p> ]]></content:encoded> </item> <item><title>By: links for 2009-04-12 &#124; This Inspires Me</title><link>http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar#comment-4549</link> <dc:creator>links for 2009-04-12 &#124; This Inspires Me</dc:creator> <pubDate>Sun, 12 Apr 2009 09:55:08 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/?p=1719#comment-4549</guid> <description>[...] How to make the most out of your sidebar (tags: wordpress blogdesign) [...]</description> <content:encoded><![CDATA[<p>[...] How to make the most out of your sidebar (tags: wordpress blogdesign) [...]</p> ]]></content:encoded> </item> <item><title>By: How To Make The Most Out Of Your Sidebar : Design Newz</title><link>http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar#comment-4548</link> <dc:creator>How To Make The Most Out Of Your Sidebar : Design Newz</dc:creator> <pubDate>Sun, 12 Apr 2009 00:01:41 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/?p=1719#comment-4548</guid> <description>[...] How To Make The Most Out Of Your Sidebar [...]</description> <content:encoded><![CDATA[<p>[...] How To Make The Most Out Of Your Sidebar [...]</p> ]]></content:encoded> </item> <item><title>By: Pontus</title><link>http://wpcandy.com/teaches/how-to-make-the-most-out-of-your-sidebar#comment-4547</link> <dc:creator>Pontus</dc:creator> <pubDate>Sat, 11 Apr 2009 05:12:08 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/?p=1719#comment-4547</guid> <description>@Mitch:You&#039;re right, there is a syntax error. At the end, there is a double else, a misstake while formatting the article properly. Also, the first if statement wasn&#039;t closed off properly. The code below is valid, just put it in between php tags:if(is_page()) {
// We&#039;re on a &quot;page&quot;, which?
if (is_page(&#039;About&#039;)) {
// Ah, the about page!
get_sidebar(&#039;about&#039;); // includes sidebar-about.php
} elseif (is_page(&#039;archives&#039;)) {
get_sidebar(&#039;archives&#039;); // includes sidebar-archives.php
} elseif (is_page(&#039;contact&#039;)) {
get_sidebar(&#039;contact&#039;); // includes sidebar-contact.php
} else {
// if we&#039;re not any of the above pages
get_sidebar(); // includes regular sidebar.php
}
};</description> <content:encoded><![CDATA[<p>@Mitch:</p><p>You&#8217;re right, there is a syntax error. At the end, there is a double else, a misstake while formatting the article properly. Also, the first if statement wasn&#8217;t closed off properly. The code below is valid, just put it in between php tags:</p><p>if(is_page()) {<br
/> // We&#8217;re on a &#8220;page&#8221;, which?<br
/> if (is_page(&#8216;About&#8217;)) {<br
/> // Ah, the about page!<br
/> get_sidebar(&#8216;about&#8217;); // includes sidebar-about.php<br
/> } elseif (is_page(&#8216;archives&#8217;)) {<br
/> get_sidebar(&#8216;archives&#8217;); // includes sidebar-archives.php<br
/> } elseif (is_page(&#8216;contact&#8217;)) {<br
/> get_sidebar(&#8216;contact&#8217;); // includes sidebar-contact.php<br
/> } else {<br
/> // if we&#8217;re not any of the above pages<br
/> get_sidebar(); // includes regular sidebar.php<br
/> }<br
/> };</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: basic
Database Caching 29/40 queries in 0.010 seconds using disk: basic
Object Caching 1135/1147 objects using disk: basic
Content Delivery Network via cdn.wpcandy.com

Served from: wpcandy.com @ 2012-05-24 16:09:13 -->
