Adding Dynamic Profile Link to Main Menu Item
-
Buddypress = 1.5
Theme = Custom CommunityIn the wordpress menu I would like to add a link to the buddypress user profile. I would like to create a new tab on my main menu called “My Profile” that redirects to the unique buddypress user profile page. My problem is that these links are dynamic based on the username.
What I would like to achieve:
–>User1 logs in and clicks on http://website.com/my-profile and is redirected to http://website.com/members/user1/profile/–>User2 logs in and clicks on http://website.com/my-profile and is redirected to http://website.com/members/user2/profile/
I’ve searched everywhere and can’t find a solution to this vexing problem. Your help is greatly appreciated.
Thanks,
-John
-
I think what you’re really looking for is this plugin: BP Direct Menus. You can put a menu item or shortcode that links to any buddypress page. It even lets you customize the menu name with the user’s information.
Full disclosure: I wrote the plugin after I couldn’t find a more elegant solution to this same problem.
In BP 1.9 there are now built in BP account screen links that can be added to WP menus.
Hello Hugo, I am using BuddyPress1.9 and I can not find “BP account screen link” in BP setting? could Hugo/anyone tell me where to find the link? I would like add dynamic profile Link to my main menu item. please help!!!
it’s in the menu screen there should be a buddypress section with the links.
Hi,
I also have no buddypress items in the Menu area under appearance. I am running 3.9.1. Does this functionality still exist?
My site is at mukkytalk.com and is using Aggregate theme from eleganthemes.
Thank you.
I too am looking to create a link in the Appearance > Menu area of WordPress to a users profile and also messages area. I am using Buddypress 2.0.1 and do not see how this is done. My Menu area does not have a buddpress links option here or in the theme options?
@allmyhoney
You need to navigate to your-site/wp-admin/nav-menus.php and in the upper right side you will see a tab with an inverted triangle labeled “Screen Options” click that tab and then check the box beside “BuddyPress” you should then have the BuddyPress links in your menu options. Keep in mind you need to be logged in. Good luck!@bphelp – makes perfect sense and thank you for the prompt reply. That worked great and nice to know these dynamic links are being thought of 😉
- The topic ‘Adding Dynamic Profile Link to Main Menu Item’ is closed to new replies.