BuddyDev

Search

Location of buddypress main nav – sub nav

  • Participant
    Level: Master
    Posts: 213
    smart life on #14643

    Hi,

    Can you tell me where is Location of buddypress main nav – sub nav file

    Thanks

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #14648

    Hi Julia,
    I am not sure which main nav you are referring to? Is it about the User profile main nav? Do you need to know the php file?

  • Participant
    Level: Master
    Posts: 213
    smart life on #14658

    yes. please give me know file location

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #14659

    bp-templates/bp-legacy/buddypress/members/single/home.php.

    Look for the line that sys something like

    
    bp_get_displayed_user_nav()
    

    Regards
    Brajesh

  • Participant
    Level: Master
    Posts: 213
    smart life on #14676

    Thanks.

    But may i know which file created bellow code in home.php
    1) bp_get_displayed_user_nav()
    2) do_shortcode (‘members_option_nav’)

  • Keymaster
    (BuddyDev Team)
    Posts: 24593
    Brajesh Singh on #14690

    Hi Julia,
    I have posted to your other topic. You should not modify the files where this function is declrade.

    Also, the last line of code should be do_action not so_shortcodes.

    Regards
    Brajesh

You must be logged in to reply to this topic.

This topic is: not resolved