<?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>S . P . A r u n . I n &#187; Navigation</title>
	<atom:link href="http://sparun.in/tag/navigation/feed/" rel="self" type="application/rss+xml" />
	<link>http://sparun.in</link>
	<description>WordPress, Windows and the Web.</description>
	<lastBuildDate>Mon, 05 Apr 2010 03:37:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1-alpha</generator>
		<item>
		<title>Add Top Level Pages to Default Buddypress Navigation Links</title>
		<link>http://sparun.in/add-top-level-pages-to-default-buddypress-navigation-links/</link>
		<comments>http://sparun.in/add-top-level-pages-to-default-buddypress-navigation-links/#comments</comments>
		<pubDate>Mon, 01 Feb 2010 05:11:25 +0000</pubDate>
		<dc:creator>Arun</dc:creator>
				<category><![CDATA[Buddypress]]></category>
		<category><![CDATA[Plugins]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[Navigation]]></category>
		<category><![CDATA[Pages]]></category>

		<guid isPermaLink="false">http://sparun.in/?p=232</guid>
		<description><![CDATA[As for as the Default Buddypress theme is concerned, when activated the theme only shows the navigation to its main components.]]></description>
			<content:encoded><![CDATA[<p style="float:right; margin:0 0 10px 15px; width:240px;">
		<img src="http://sparun.in/wp-content/uploads/Bp-Navi.jpg" width="240" />
		</p><p>As for as the Default Buddypress theme is concerned, when activated the theme only shows the navigation to its main components such as Home, Activity, Members and Groups.It will not show you, other than that four pages.</p>
<p><span id="more-232"></span><a href="http://sparun.in/wp-content/uploads/bp-pages.jpg"><img class="aligncenter size-full wp-image-233" title="bp-pages" src="http://sparun.in/wp-content/uploads/bp-pages.jpg" alt="" width="387" height="128" /></a><br />
But we always create many pages such as About and contact, which we believe very important enough to show them in the main navigation along with the default four links.</p>
<p>To show the Top level pages to the Main navigation,</p>
<p>1. Go to <strong>Appearance -&gt; Editor</strong> in WordPress Administration Panel.</p>
<p>2. Select the Buddypress theme.</p>
<p>3. Open <strong>Functions.php</strong> in that theme.</p>
<p>4. Add the Following Code at the bottom.</p>
<blockquote><p>/* Adding Top Level Pages to Default Buddypress Navigation */<br />
function bp_sparun_add_nav(){<br />
do_action(&#8216;bp_sparun_add_nav&#8217;);<br />
wp_list_pages(array(&#8216;depth&#8217;=&gt;1,&#8217;title_li&#8217;=&gt;&#8221;));<br />
}<br />
add_action(&#8216;bp_nav_items&#8217;,'bp_sparun_add_nav&#8217;);</p></blockquote>
<p>5. Save Changes.</p>
<p><a href="http://sparun.in/wp-content/uploads/Bp-navigation.jpg"><img class="aligncenter size-full wp-image-234" title="Bp-navigation" src="http://sparun.in/wp-content/uploads/Bp-navigation.jpg" alt="" width="482" height="140" /></a><br />
Now the top level pages can be seen in the navigation.In the above code, you can change all occurances of &#8220;<strong>sparun</strong>&#8220;.But it should be unique.</p>
<img src="http://sparun.in/?ak_action=api_record_view&id=232&type=feed" alt="" />]]></content:encoded>
			<wfw:commentRss>http://sparun.in/add-top-level-pages-to-default-buddypress-navigation-links/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
