<?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 Category Menu Bar for Your Site</title>
	<atom:link href="http://fschulte-ladbeck.com/creating-category-menu-bar-site/feed/" rel="self" type="application/rss+xml" />
	<link>http://fschulte-ladbeck.com/creating-category-menu-bar-site/</link>
	<description>Looking at how to create small business websites</description>
	<lastBuildDate>Wed, 07 Apr 2010 13:01:59 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	<item>
		<title>By: Earn blog admin online</title>
		<link>http://fschulte-ladbeck.com/creating-category-menu-bar-site/#comment-2371</link>
		<dc:creator>Earn blog admin online</dc:creator>
		<pubDate>Thu, 11 Feb 2010 00:15:36 +0000</pubDate>
		<guid isPermaLink="false">http://fschulte-ladbeck.com/?p=170#comment-2371</guid>
		<description>GOOD!!! I had a small addition for those who want to add home button also along with the categories

If you want to display &quot;HOME&quot;, then you have to use the following in the function.php
____

function cat_menu_items1()

{

$homeMenuItemCaption = &lt;&lt;post_title);
			$isHomeSelected = is_page($page-&gt;ID);
		} elseif (!$pageOnFront &amp;&amp; $pageForPosts) {
			$page = &amp; get_post($pageForPosts);
			if (null != $page)
				$homeMenuItemCaption = apply_filters(&#039;the_title&#039;, $page-&gt;post_title);
		}
	}
	if (null === $isHomeSelected)
		$isHomeSelected = is_home();
    if (true === $showHomeMenuItem &#124;&#124; &#039;page&#039; == get_option(&#039;show_on_front&#039;))
	echo &#039;&lt;a href=&quot;&#039; . get_option(&#039;home&#039;) . &#039;&quot; rel=&quot;nofollow&quot;&gt;&#039;
		. $homeMenuItemCaption . &#039;&lt;/a&gt;&#039;;
	


    add_action(&#039;get_the_category&#039;,
&#039;art_header_page_list_filter&#039;);

    add_action(&#039;wp_list_categories&#039;,
&#039;art_list_pages_filter&#039;);

    wp_list_categories(&#039;title_li=&#039;);

    remove_action(&#039;wp_list_categories&#039;,
&#039;art_list_pages_filter&#039;);

    remove_action(&#039;get_the_category&#039;,
&#039;art_header_page_list_filter&#039;);

}</description>
		<content:encoded><![CDATA[<p>GOOD!!! I had a small addition for those who want to add home button also along with the categories</p>
<p>If you want to display &#8220;HOME&#8221;, then you have to use the following in the function.php<br />
____</p>
<p>function cat_menu_items1()</p>
<p>{</p>
<p>$homeMenuItemCaption = &lt;&lt;post_title);<br />
			$isHomeSelected = is_page($page-&gt;ID);<br />
		} elseif (!$pageOnFront &amp;&amp; $pageForPosts) {<br />
			$page = &amp; get_post($pageForPosts);<br />
			if (null != $page)<br />
				$homeMenuItemCaption = apply_filters(&#8216;the_title&#8217;, $page-&gt;post_title);<br />
		}<br />
	}<br />
	if (null === $isHomeSelected)<br />
		$isHomeSelected = is_home();<br />
    if (true === $showHomeMenuItem || &#8216;page&#8217; == get_option(&#8216;show_on_front&#8217;))<br />
	echo &#8216;<a href="' . get_option('home') . '" rel="nofollow">&#8216;<br />
		. $homeMenuItemCaption . &#8216;</a>&#8216;;</p>
<p>    add_action(&#8216;get_the_category&#8217;,<br />
&#8216;art_header_page_list_filter&#8217;);</p>
<p>    add_action(&#8216;wp_list_categories&#8217;,<br />
&#8216;art_list_pages_filter&#8217;);</p>
<p>    wp_list_categories(&#8216;title_li=&#8217;);</p>
<p>    remove_action(&#8216;wp_list_categories&#8217;,<br />
&#8216;art_list_pages_filter&#8217;);</p>
<p>    remove_action(&#8216;get_the_category&#8217;,<br />
&#8216;art_header_page_list_filter&#8217;);</p>
<p>}</p>
]]></content:encoded>
	</item>
</channel>
</rss>
