Dynamic Profile Links in Menu Solution
-
Hi Folks
I have spent a few hours Googling how to set up dynamic links in WP/BD. I found a lot of people asking the same questions. It’s surprising that BP does not allow this functionality out of the box.
For example, if anyone wanted to create a link on the main menu to the users profile, edit profile etc.
Most solutions I found required custom functions or hardcoding menu items into the theme. This rather defeats the object of having a nice menu management system in WP backend.
I found this solution, thought I would share it.
First I installed the Buddypress Profile Shortcodes plugin – https://wordpress.org/plugins/buddypress-profile-shortcodes/
Next I installed the Shortcodes in Menu plugin – https://wordpress.org/plugins/shortcode-in-menus/
Voila, create menu items in the menu management system to pretty much whatever user area you want to link to.
Hope that’s helpful for someone 🙂
- You must be logged in to reply to this topic.