Skip to:
Content
Pages
Categories
Search
Top
Bottom

Adding Custom BP Menu to WordPress Navigation


  • ramya
    Participant

    @ramyasam

    https://prnt.sc/7JlfIdfuEuti

    Hi I want to enhance my WordPress site’s navigation by adding an “Academic” menu, How to add this menu in buddypress nav items

    bp_core_new_nav_item(
    array(
    ‘name’ => ‘Academic’,
    ‘slug’ => ‘academic’,
    ‘position’ => 25,
    ‘show_for_displayed_user’ => false,
    ‘default_subnav_slug’ => ‘dashboard’, // We add this submenu item below
    ‘screen_function’ => ‘custom_tab_main’
    ) );

  • You must be logged in to reply to this topic.
Skip to toolbar