<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	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:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Free Blog Themes, Blog Tutorials, Blog Templates, Blogger Tips, Blog Resources &#187; sensitive</title>
	<atom:link href="http://www.blogbunker.com/tag/sensitive/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.blogbunker.com</link>
	<description>Free blogger templates, blogger tutorials, blogger tips, blogger guildes, blogger widgets, free wordpress plugins, free wordpress theme, blogger resources</description>
	<lastBuildDate>Sun, 22 Jan 2012 06:20:08 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Page Sensitive Multi-Level Navigation</title>
		<link>http://www.blogbunker.com/wordpress-plugins/page-sensitive-multi-level-navigation/</link>
		<comments>http://www.blogbunker.com/wordpress-plugins/page-sensitive-multi-level-navigation/#comments</comments>
		<pubDate>Thu, 13 May 2010 22:28:02 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Wordpress Plugins]]></category>
		<category><![CDATA[Wordpress Themes]]></category>
		<category><![CDATA[multilevel]]></category>
		<category><![CDATA[navigation]]></category>
		<category><![CDATA[page]]></category>
		<category><![CDATA[sensitive]]></category>

		<guid isPermaLink="false">http://www.blogbunker.com/wordpress-plugins/page-sensitive-multi-level-navigation/</guid>
		<description><![CDATA[<a href="http://www.blogbunker.com/wordpress-plugins/page-sensitive-multi-level-navigation/"><img align="left" hspace="5" width="100" src="http://wphacks.com/?ak_action=api_record_view&amp;id=2409&amp;type=feed" class="alignleft wp-post-image tfe" alt="" title="" /></a>While most sites don&#8217;t need incredibly deep page navigation there are situations that justify a hierarchy beyond the typical 2 &#8211; 3 levels.  Unfortunately that can be cumbersome for top navigation drop-downs (more than 1 level of drop down is too much IMHO) so another solution needs to be found.  I ran into just such [...]]]></description>
			<content:encoded><![CDATA[<p>While most sites don&#8217;t need incredibly deep page navigation there are situations that justify a hierarchy beyond the typical 2 &#8211; 3 levels.  Unfortunately that can be cumbersome for top navigation drop-downs (more than 1 level of drop down is too much IMHO) so another solution needs to be found.  I ran into just such a situation for a client and while I&#8221;m also not a fan of left hand navigation it was the decision of the client to utilize it in conjunction with their top navigation, and in retrospect it made sense for them. To keep things easily navigable we also implemented breadcrumbs (which is a good practice anyway).</p>
<p>The mission was to display sub-pages of the current page you are on in the left nav and once you hit the bottom of the hierarchy to show pages which are parallel to that page within the same branch of the hierarchy.</p>
<p>After some digging and experimentation I came up with the following which executes perfectly in only a few lines of code.</p>
<p><code>&lt;?php<br />
$children = wp_list_pages("title_li=&amp;child_of=".$post-&gt;ID."&amp;echo=0&amp;depth=1");<br />
if ($children == "")<br />
$children = wp_list_pages("title_li=&amp;child_of=".$post-&gt;post_parent."&amp;echo=0&amp;depth=1");<br />
?&gt;<br />
&lt;ul&gt;<br />
&lt;?php echo $children; ?&gt;<br />
&lt;/ul&gt;<br />
&lt;?php endif; ?&gt;</code></p>
<p>Of course you style to taste&#8230;</p>
<p>That&#8217;s it! Used in conjunction with a standard WordPress top-navigation and breadcrumbs you can easily display page sensitive multi-level navigation for your super-complex multi-level site!</p>
<p><img src="http://wphacks.com/?ak_action=api_record_view&amp;id=2409&amp;type=feed" alt="" />
<p>You are reading <a href="http://wphacks.com/page-sensitive-multi-level-navigation/">Page Sensitive Multi-Level Navigation</a>  © 2009 | <a href="http://wphacks.com">WordPress Hacks</a> | <a href="http://wpnexus.com">WordPress Directory</a> | <a href="http://wpforums.com/">WordPress Forums</a> | <a href="http://wpebook.com/">WordPress eBook</a></p>
<p><small>Enjoy writing about WordPress?  Get your blog more exposure by joining the <a href="http://wphacks.com/write/">WordPress Hacks writing team</a>!</small></p>
<p><img src="http://feeds.feedburner.com/~r/HackWordpress/~4/tMuBAE1-pcE" height="1" width="1" /></p>
]]></content:encoded>
			<wfw:commentRss>http://www.blogbunker.com/wordpress-plugins/page-sensitive-multi-level-navigation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

