Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding a menu itme, but is not adding the selected class


  • gregdbowen
    Participant

    @gregdbowen

    Hello, I got the menu addition to the added, but when I click on it on my website, it doesn’t highlight, all of the other buttons do. The link works fine, but it won’t select the menu item. Thanks for any help on how I might address this!

     bp_core_new_nav_item( array( 
            'name' => __( 'Network', 'network' ), 
            'slug' => 'dashboard/friends', 
            'position' => 11,
    	'default_subnav_slug' => 'friends'
      ) );

    I also tried:

     bp_core_new_nav_item( array( 
            'name' => __( 'Network', 'network' ), 
            'slug' => 'dashboard/friends', 
            'position' => 11,
    	   'default_subnav_slug' => 'dashboard/friends'
      ) );
  • You must be logged in to reply to this topic.
Skip to toolbar