Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Problems with active state menu for Homepage/Activity


@mercime
Participant

@mercime

Hmm, perhaps it would be better to add the WP regular home/front page conditions to the mix, have not used template pack before in project.

.

<li><?php if ( is_home() || is_front_page() || bp_is_page( 'home' ) || bp_is_front_page() ) : ?> class="active"<?php endif; ?>><a href="<?php echo get_option('home') ?>" title="<?php _e( 'Home', 'buddypress' ) ?>"><?php _e( 'Home', 'buddypress' ) ?></a></li>

Skip to toolbar