Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: How to add a slug to nav and link to a WPMU page


pcwriter
Participant

@pcwriter

Correct code:

<li<?php if ( is_page( BP_PAGE_SLUG ) ) : ?> class="selected"<?php endif; ?>>/<?php echo BP_PAGE_SLUG ?>" title="<?php _e( 'Slug Label', 'buddypress' ) ?>"><?php _e( 'Slug Label', 'buddypress' )</li>

Skip to toolbar