Skip to:
Content
Pages
Categories
Search
Top
Bottom

Menu items are wrong


  • kevinbrands
    Participant

    @kevinbrands

    Hello,

    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!
    -Kevin

Viewing 1 replies (of 1 total)

  • kevinbrands
    Participant

    @kevinbrands

    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?

    Thanks in advance!
    -Kevin

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.
Skip to toolbar