Skip to:
Content
Pages
Categories
Search
Top
Bottom

Member Nav Issue

Viewing 4 replies - 1 through 4 (of 4 total)

  • unst3rblich
    Participant

    @unst3rblich

    Hello,

    Just checking back to see if anyone can advise on a solution for this or provide any support.

    Thank you,

    – Unster


    clickallco
    Participant

    @clickallco

    Hi, did you try switching your theme and turning off your plugins one by one to see if any of those were bugging it?


    unst3rblich
    Participant

    @unst3rblich

    Yes, but I was able to find a temporary work-around by disabling the Activity page in the Buddypress page settings. This makes the default profile tab the one that I want (Profile) but it still doesn’t quite correct the issue where the nav bar can’t be rearranged properly.


    clickallco
    Participant

    @clickallco

    Perhaps you could try altering it through some code and see if it changes. Change the number to the corresponding spot you want the tab to have.

    Insert the code in your bp-custom.php or your functions.php file to play around with it.

    function change_profile_tab_order() {
    	global $bp;
    	$bp->bp_nav['profile']['position'] = 10;
    	$bp->bp_nav['activity']['position'] = 20;
    	$bp->bp_nav['notifications']['position'] = 30;
    	$bp->bp_nav['messages']['position'] = 40;
    	$bp->bp_nav['friends']['position'] = 50;
    	$bp->bp_nav['groups']['position'] = 60;
    	$bp->bp_nav['settings']['position'] = 70;
    }
    
    add_action('bp_setup_nav', 'change_profile_tab_order', 999);
Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.
Skip to toolbar