This topic has 1 reply, 2 voices, and was last updated 9 years by sharmstr.

  • Author
  • #56719
     amanavohra
    Participant

    adding a screenshot as per comments on themeforest –

    I have created a couple of new group tab Devoir and Create. I am not able to figure out how to add sub navigation to Devoir tab. For the subtab, I am not sure what to add as parent_name and parent_slug so that subnav is created under the Devoir tab?

    bp_core_new_subnav_item( array(
    ‘name’ => ‘Help’,
    ‘slug’ => ‘help’,
    ‘parent_url’ => ,
    ‘parent_slug’ => ,
    ‘position’ => 10,
    ‘screen_function’ => ‘view_manage_sub_tab_main’
    ) );

    #56724
     sharmstr
    Moderator

    Assuming devoir is the slug name, probably something like

    COPY CODE
    
    'parent_url' => $group_permalink . "/devoir";
    'parent_slug' => bp_get_current_group_slug() . "/devoir";
    
    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution

    This support site is not about custom work. If you need custom development please contact cornel@seventhqueen.com

Viewing 2 posts - 1 through 2 (of 2 total)

The forum ‘KLEO’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?