Buddypress slug issues
-
Hi
i created a bp-custom.php and regrouped the menu items fine. But now i am trying to add a link to go to /site/members. It list all the members. When i add it though it goes under the profile I am viewing. I am redirecting to a wordpress page if that helps.
example with it added
http://website.com/log-in/members/username/members/
i want it to go just here
http://website.com/log-in/members/
I would love to learn how to just put a url and no slug but whatever works.
Here is the function
function mb_bp_profile_menu_posts() {
global $bp;
bp_core_new_nav_item(
array(
'name' => 'Members',
'slug' => 'members',
'position' => 60,)
);
}
- The topic ‘Buddypress slug issues’ is closed to new replies.