Support » Plugin: Nav Menu Roles » Loading wp_nav_menu using Ajax

  • bymediadk



    I am trying to load my wp_nav_menu using Ajax. If I use Ajax to load the wp_nav_menu the menu items I have restricted to certain user roles are being displayed to all users anyway. Should I include something to make this plugin work when using Ajax ?

    I am having some cache issues. Thats why I want to use Ajax to load the menu.

    Thank you in advance.

    • This topic was modified 2 years ago by bymediadk.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Author helgatheviking


    I’ve never really looked into this too deeply. If you figure out a solution, I would love if you could post it here for reference.

    Can you show me what your code looks like so far? My best guess is it has to do with the user object maybe not being set up, but perhaps I’ll see something in your code.

Viewing 1 replies (of 1 total)
  • The topic ‘Loading wp_nav_menu using Ajax’ is closed to new replies.