Hey, I'm smitten with the Menubar plugin. Big ups!
I'd like to use Menubar's php function. Where if a user is logged in show them a menu. So far so good with this code:
if (is_user_logged_in ())
return array ('Create Event', '/event/create');
else
return array ('Log in to create a Event', '/login');
Now. If i'm outside of the WP page realm, how would I make Menubar aware of the 'current page', as to add '.selected' class to the li.
if ( bp_is_page( 'event' ) ) : echo'<li class='selected>'...?
Thanks!
Mic