<?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: How To Highlight The Current Page In WordPress</title>
	<atom:link href="http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/</link>
	<description>Helping you build search engine friendly websites</description>
	<lastBuildDate>Mon, 15 Mar 2010 08:10:40 -0600</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
	<item>
		<title>By: Ben Althauser</title>
		<link>http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/comment-page-1/#comment-57488</link>
		<dc:creator>Ben Althauser</dc:creator>
		<pubDate>Wed, 10 Mar 2010 22:42:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=519#comment-57488</guid>
		<description>Nice writeup!

I found a method that worked great also - 

if you end your 
wp_list_pages() function walue with &quot;&amp;title_li=&quot; (example &quot;wp_list_pages(&#039;depth=1&amp;title_li=&#039;)), it by default will throw in the &quot;current_page_item&quot; class name into the class tag.

If this doesn&#039;t work for you, please send me an email at falkon303@gmail.com and I&#039;ll try to help out when I have time for sure.</description>
		<content:encoded><![CDATA[<p>Nice writeup!</p>
<p>I found a method that worked great also &#8211; </p>
<p>if you end your<br />
wp_list_pages() function walue with &#8220;&amp;title_li=&#8221; (example &#8220;wp_list_pages(&#8216;depth=1&amp;title_li=&#8217;)), it by default will throw in the &#8220;current_page_item&#8221; class name into the class tag.</p>
<p>If this doesn&#8217;t work for you, please send me an email at <a href="mailto:falkon303@gmail.com">falkon303@gmail.com</a> and I&#8217;ll try to help out when I have time for sure.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Bradley</title>
		<link>http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/comment-page-1/#comment-54596</link>
		<dc:creator>Steven Bradley</dc:creator>
		<pubDate>Tue, 23 Feb 2010 19:55:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=519#comment-54596</guid>
		<description>I hear you. It&#039;s been a little while since I looked into that, but if memory serves it was not easy and required more hacks than I would want to use.

See if either of these posts helps

&lt;a href=&quot;http://themeshaper.com/adding-class-wordpress-page-menu/&quot; rel=&quot;nofollow&quot;&gt;Adding Class To The WordPress Page Menu&lt;/a&gt;

&lt;a href=&quot;http://justintadlock.com/archives/2008/11/10/new-page-menu-function-in-wordpress-27&quot; rel=&quot;nofollow&quot;&gt;New page menu function in WordPress 2.7&lt;/a&gt;

I linked to both of them in this post on &lt;a href=&quot;http://www.vanseodesign.com/wordpress/how-to-create-a-dropdown-menu-in-wordpress/&quot; rel=&quot;nofollow&quot;&gt;creating drop down menus in wordpress&lt;/a&gt;

All 3 posts have info on getting hooks into your menus to help style them.

I&#039;m not sure if any will be enough to help you with what you&#039;re trying to do. If not come back here and comment again or send me a message through my comment form. I&#039;ll see if I can find the info for you. Memory is telling me it&#039;s not as easy as it should be, but I&#039;m sure someone has figured out how to do this and it&#039;s possible more recent versions of WP make this easier.</description>
		<content:encoded><![CDATA[<p>I hear you. It&#8217;s been a little while since I looked into that, but if memory serves it was not easy and required more hacks than I would want to use.</p>
<p>See if either of these posts helps</p>
<p><a href="http://themeshaper.com/adding-class-wordpress-page-menu/" rel="nofollow">Adding Class To The WordPress Page Menu</a></p>
<p><a href="http://justintadlock.com/archives/2008/11/10/new-page-menu-function-in-wordpress-27" rel="nofollow">New page menu function in WordPress 2.7</a></p>
<p>I linked to both of them in this post on <a href="http://www.vanseodesign.com/wordpress/how-to-create-a-dropdown-menu-in-wordpress/" rel="nofollow">creating drop down menus in wordpress</a></p>
<p>All 3 posts have info on getting hooks into your menus to help style them.</p>
<p>I&#8217;m not sure if any will be enough to help you with what you&#8217;re trying to do. If not come back here and comment again or send me a message through my comment form. I&#8217;ll see if I can find the info for you. Memory is telling me it&#8217;s not as easy as it should be, but I&#8217;m sure someone has figured out how to do this and it&#8217;s possible more recent versions of WP make this easier.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Bradley</title>
		<link>http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/comment-page-1/#comment-54593</link>
		<dc:creator>Steven Bradley</dc:creator>
		<pubDate>Tue, 23 Feb 2010 19:45:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=519#comment-54593</guid>
		<description>Thanks. I appreciate the compliment. It&#039;s easy to stay humble when there&#039;s always someone else around the corner that knows more than you do.</description>
		<content:encoded><![CDATA[<p>Thanks. I appreciate the compliment. It&#8217;s easy to stay humble when there&#8217;s always someone else around the corner that knows more than you do.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eric</title>
		<link>http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/comment-page-1/#comment-54562</link>
		<dc:creator>Eric</dc:creator>
		<pubDate>Tue, 23 Feb 2010 15:49:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=519#comment-54562</guid>
		<description>Great post. This does 50% of what I want. Is there a way to include parent pages too? 

For example if I have mysite/shop/women, women is highlighted. But if I go to mysite/shop/women/item1, women is no longer highlighted. The items change too much to create an array. Since I&#039;m using pages and not posts, I can&#039;t use is_category() or is_tag()

Thanks</description>
		<content:encoded><![CDATA[<p>Great post. This does 50% of what I want. Is there a way to include parent pages too? </p>
<p>For example if I have mysite/shop/women, women is highlighted. But if I go to mysite/shop/women/item1, women is no longer highlighted. The items change too much to create an array. Since I&#8217;m using pages and not posts, I can&#8217;t use is_category() or is_tag()</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ferpont</title>
		<link>http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/comment-page-1/#comment-46115</link>
		<dc:creator>Ferpont</dc:creator>
		<pubDate>Sat, 12 Dec 2009 00:35:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=519#comment-46115</guid>
		<description>Hey man! you are so humble.. I guess great persons AND programmers are... Yours is the best, simplest and most extensive explanation on how to do this that I could find over the web.
Thank you so much.</description>
		<content:encoded><![CDATA[<p>Hey man! you are so humble.. I guess great persons AND programmers are&#8230; Yours is the best, simplest and most extensive explanation on how to do this that I could find over the web.<br />
Thank you so much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: How to make &#8220;current page&#8221; indicator in navbar &#124; Designing Interactivity - ICC 565 - Professor Ken Harper</title>
		<link>http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/comment-page-1/#comment-45949</link>
		<dc:creator>How to make &#8220;current page&#8221; indicator in navbar &#124; Designing Interactivity - ICC 565 - Professor Ken Harper</dc:creator>
		<pubDate>Thu, 10 Dec 2009 08:57:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=519#comment-45949</guid>
		<description>[...] to make my navbar indicate the page the user is on, without having different HTML for each page.  This website explains it.  Wordpress&#8217; php tag that makes it list the pages, which is in your header.php [...]</description>
		<content:encoded><![CDATA[<p>[...] to make my navbar indicate the page the user is on, without having different HTML for each page.  This website explains it.  Wordpress&#8217; php tag that makes it list the pages, which is in your header.php [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Bradley</title>
		<link>http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/comment-page-1/#comment-45777</link>
		<dc:creator>Steven Bradley</dc:creator>
		<pubDate>Tue, 08 Dec 2009 19:07:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=519#comment-45777</guid>
		<description>Thanks Andrew. I thought I had caught all the missing semi-colons, but I guess not. They seemed to display in some places, but not others. Hopefully I really have caught them all this time.

Good point about is_home() and is_front_page(). I made a note in the post to call attention to it.

Thanks again</description>
		<content:encoded><![CDATA[<p>Thanks Andrew. I thought I had caught all the missing semi-colons, but I guess not. They seemed to display in some places, but not others. Hopefully I really have caught them all this time.</p>
<p>Good point about is_home() and is_front_page(). I made a note in the post to call attention to it.</p>
<p>Thanks again</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Steven Bradley</title>
		<link>http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/comment-page-1/#comment-45774</link>
		<dc:creator>Steven Bradley</dc:creator>
		<pubDate>Tue, 08 Dec 2009 18:44:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=519#comment-45774</guid>
		<description>Glad to help.</description>
		<content:encoded><![CDATA[<p>Glad to help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: the toon</title>
		<link>http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/comment-page-1/#comment-45699</link>
		<dc:creator>the toon</dc:creator>
		<pubDate>Tue, 08 Dec 2009 04:39:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=519#comment-45699</guid>
		<description>Thanks, dude!
You saved my whole day! :-)</description>
		<content:encoded><![CDATA[<p>Thanks, dude!<br />
You saved my whole day! <img src='http://www.vanseodesign.com/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andrew Parker</title>
		<link>http://www.vanseodesign.com/wordpress/hightlight-current-page-wordpress/comment-page-1/#comment-45358</link>
		<dc:creator>Andrew Parker</dc:creator>
		<pubDate>Fri, 04 Dec 2009 20:09:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.vanseodesign.com/blog/?p=519#comment-45358</guid>
		<description>Just a coupla pointers to solve problems I encountered: 

- the code elements still seem to be missing ; between the &#039; of the echo statement and the }  This was the reason for m&#039;s error above.

- is_home() doesn&#039;t work when you&#039;re using a static front-page in your wordpress configuration. You need to use is_front_page() instead in this case.</description>
		<content:encoded><![CDATA[<p>Just a coupla pointers to solve problems I encountered: </p>
<p>- the code elements still seem to be missing ; between the &#8216; of the echo statement and the }  This was the reason for m&#8217;s error above.</p>
<p>- is_home() doesn&#8217;t work when you&#8217;re using a static front-page in your wordpress configuration. You need to use is_front_page() instead in this case.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
