2 weeks, 1 day ago
I’m loading a menu via Ajax. And the user specific items have the wrong URL’s.
I’ve tried using bp_setup_nav_menu_item and bp_nav_menu_get_item_url without luck.
I’m using wp_get_nav_menu_items to get items of a specific menu. After getting the items, I loop through them. When inspecting the object, it (still) has the wrong URL.
How can I fix this?
Thanks in advance!
1 week, 4 days ago
Maybe I can elaborate on the problem some more:
If I set the links and view the menu, the URL’s of the user that sets the menu are being used. For all other users. That’s not what we want to achieve.
We want to achieve that, for example, the profile link is dynamic and changes to the right URL for the logged in user.
Is there someone who had the same problem and has a fix?
See also: WordPress.org •
Follow BuddyPress on Twitter •
Contact Us •
Terms of Service