Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: How to: Add a new menu section


Nirok
Participant

@nirok

I just added simple buttons via the header.php. This needs to be changed for both the homepage template and the user template header.php …

All I added was extra

example:

<li <?php if ( bp_is_page( 'home' ) ) {?> class="selected"<?php } ?>><a>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a></li><br />
<li <?php if ( bp_is_page( 'forum' ) ) {?> class="selected"<?php } ?>><a href="http://spoodle.co.nz/3/message/">Forum</a>

this comes out as: Home | Forum

To limit database queries you could simplify the navigation to just using simple code:

<ul
<li><a href="http://spoodle.co.nz/3/">Home</a></li><br />
<li><a href="http://spoodle.co.nz/3/Blog/">Blog</a></li><br />
</ul>

which gives you: Home | Blog

etc etc anyway thats what i have done i’m sure you could make some complex buttons by playing around…

Skip to toolbar