<?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: The easiest way to display ‘Home’ as a navigation link, Period.</title> <atom:link href="http://wpcandy.com/teaches/the-easiest-way-to-display-home-as-a-navigation-link-period/feed" rel="self" type="application/rss+xml" /><link>http://wpcandy.com/teaches/the-easiest-way-to-display-home-as-a-navigation-link-period?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=the-easiest-way-to-display-home-as-a-navigation-link-period</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: Tibor</title><link>http://wpcandy.com/teaches/the-easiest-way-to-display-home-as-a-navigation-link-period#comment-1672</link> <dc:creator>Tibor</dc:creator> <pubDate>Mon, 04 Feb 2008 17:17:32 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/the-easiest-way-to-display-home-as-a-navigation-link-period/#comment-1672</guid> <description>I meant @Michael ofcourse..</description> <content:encoded><![CDATA[<p>I meant @Michael ofcourse..</p> ]]></content:encoded> </item> <item><title>By: Tibor</title><link>http://wpcandy.com/teaches/the-easiest-way-to-display-home-as-a-navigation-link-period#comment-1671</link> <dc:creator>Tibor</dc:creator> <pubDate>Sat, 02 Feb 2008 07:12:46 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/the-easiest-way-to-display-home-as-a-navigation-link-period/#comment-1671</guid> <description>@Simon: I think Abba &amp; Simon mean that it should not be a link when it &lt;em&gt;is&lt;/em&gt; the current page; something I actually agree with.</description> <content:encoded><![CDATA[<p>@Simon: I think Abba &amp; Simon mean that it should not be a link when it <em>is</em> the current page; something I actually agree with.</p> ]]></content:encoded> </item> <item><title>By: Michael Castilla</title><link>http://wpcandy.com/teaches/the-easiest-way-to-display-home-as-a-navigation-link-period#comment-1670</link> <dc:creator>Michael Castilla</dc:creator> <pubDate>Fri, 01 Feb 2008 05:29:26 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/the-easiest-way-to-display-home-as-a-navigation-link-period/#comment-1670</guid> <description>@Simon: Thanks, should be fixed now.@Abba &amp; Simon: How come? Why shouldn&#039;t there be a link on the &#039;home&#039; text?</description> <content:encoded><![CDATA[<p>@Simon: Thanks, should be fixed now.</p><p>@Abba &amp; Simon: How come? Why shouldn&#8217;t there be a link on the &#8216;home&#8217; text?</p> ]]></content:encoded> </item> <item><title>By: Abba Bryant</title><link>http://wpcandy.com/teaches/the-easiest-way-to-display-home-as-a-navigation-link-period#comment-1669</link> <dc:creator>Abba Bryant</dc:creator> <pubDate>Fri, 01 Feb 2008 02:34:45 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/the-easiest-way-to-display-home-as-a-navigation-link-period/#comment-1669</guid> <description>the 2 blocks in [?php .. ?]  tags are each 1 line. And all tags above are changed to square brackets for anyone who cares.</description> <content:encoded><![CDATA[<p>the 2 blocks in [?php .. ?]  tags are each 1 line. And all tags above are changed to square brackets for anyone who cares.</p> ]]></content:encoded> </item> <item><title>By: Abba Bryant</title><link>http://wpcandy.com/teaches/the-easiest-way-to-display-home-as-a-navigation-link-period#comment-1668</link> <dc:creator>Abba Bryant</dc:creator> <pubDate>Fri, 01 Feb 2008 02:34:00 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/the-easiest-way-to-display-home-as-a-navigation-link-period/#comment-1668</guid> <description>I would prefer myself ( keeping the above comment in mind also  )
[ul]
[?php echo ( is_home( ) ) ? &quot;[li class=&#039;current_page_item&#039; ]Home[/li ]&quot; : &quot;[li][a href=&#039;{get_option(home)}&#039;]Home[/a][/li]&quot;; ?]
[?php wp_list_pages(&#039;title_li=&#039;); ?]
[/ul]I hope this comes through alright. If it doesn&#039;t, this is a perfect case for a ternary and the poster above is right, the home page should NOT have a link to the home page. A text representation is better in this case than a link.</description> <content:encoded><![CDATA[<p>I would prefer myself ( keeping the above comment in mind also  )<br
/> [ul]<br
/> [?php echo ( is_home( ) ) ? "[li class='current_page_item' ]Home[/li ]&#8221; : &#8220;[li][a href='{get_option(home)}']Home[/a][/li]&#8220;; ?]<br
/> [?php wp_list_pages('title_li='); ?]<br
/> [/ul]</p><p>I hope this comes through alright. If it doesn&#8217;t, this is a perfect case for a ternary and the poster above is right, the home page should NOT have a link to the home page. A text representation is better in this case than a link.</p> ]]></content:encoded> </item> <item><title>By: Simon</title><link>http://wpcandy.com/teaches/the-easiest-way-to-display-home-as-a-navigation-link-period#comment-1667</link> <dc:creator>Simon</dc:creator> <pubDate>Thu, 31 Jan 2008 21:41:07 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/the-easiest-way-to-display-home-as-a-navigation-link-period/#comment-1667</guid> <description>I think there&#039;s a slight typo in your code.  The Span tag is breaking inside the li tag.  I think you need to close the li tag before starting the span tag.  Of course, you could get rid of the span tag completely, it doesn&#039;t seem to be doing anything.Also, from a usability point of view, it&#039;s always wise to not link to the page the user is currently on.</description> <content:encoded><![CDATA[<p>I think there&#8217;s a slight typo in your code.  The Span tag is breaking inside the li tag.  I think you need to close the li tag before starting the span tag.  Of course, you could get rid of the span tag completely, it doesn&#8217;t seem to be doing anything.</p><p>Also, from a usability point of view, it&#8217;s always wise to not link to the page the user is currently on.</p> ]]></content:encoded> </item> <item><title>By: dRiZ</title><link>http://wpcandy.com/teaches/the-easiest-way-to-display-home-as-a-navigation-link-period#comment-1666</link> <dc:creator>dRiZ</dc:creator> <pubDate>Thu, 31 Jan 2008 16:17:24 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/the-easiest-way-to-display-home-as-a-navigation-link-period/#comment-1666</guid> <description>How about just using:[code][/code]That works just the same!!! No reason to have all that code above! WP adds the current page item by default. x</description> <content:encoded><![CDATA[<p>How about just using:</p><p>[code][/code]</p><p>That works just the same!!! No reason to have all that code above! WP adds the current page item by default. x</p> ]]></content:encoded> </item> <item><title>By: Pasquale</title><link>http://wpcandy.com/teaches/the-easiest-way-to-display-home-as-a-navigation-link-period#comment-1665</link> <dc:creator>Pasquale</dc:creator> <pubDate>Thu, 31 Jan 2008 08:58:53 +0000</pubDate> <guid
isPermaLink="false">http://wpcandy.com/the-easiest-way-to-display-home-as-a-navigation-link-period/#comment-1665</guid> <description>You could always be an idiot and hardcode it.:P</description> <content:encoded><![CDATA[<p>You could always be an idiot and hardcode it.:P</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/39 queries in 0.011 seconds using disk: basic
Object Caching 1115/1125 objects using disk: basic
Content Delivery Network via cdn.wpcandy.com

Served from: wpcandy.com @ 2012-05-24 16:48:43 -->
