Re: header.php buttons – selected class
thanks for the input guys. I am currently on r1241, so maybe that is the issue. weird thing is, I did this fine on another button, but this one doesn\’t seem to want to work.
here is the working button:
<li<?php if ( bp_is_page( 'chat' ) ) {?> class="selected"<?php } ?>><a href="<?php echo get_option('home') ?>/<?php echo chat ?>" title="<?php _e( 'Chat', 'buddypress' ) ?>"><?php _e( 'Chat', 'buddypress' ) ?></a></li>