Get the user nav in a separate page
I am writing some code related with buddypress profile page,and I want to display the user_nav_in in a separate page,the function bp_get_displayed_user_nav gives an error Invalid argument supplied for foreach() because the array $bp->members->nav->get_primary() does not have any values ,because the display_user->id is empty,
I tried to set up it with $bp->displayed_user->id=”ExampleId” but with no success,
Does any one have an idea?
- You must be logged in to reply to this topic.