• Resolved TheBusinessCat

    (@thebusinesscat)


    Hi there,

    First of all, thank you for creating this useful plugin.

    I have created a new user role called Chairperson, and I have the settings as per this image.

    The menu link is hidden when no users are logged in, however, the menu link displays to all logged-in users (for example the customer user role).

    I would only like the menu link to be displayed to my custom role of chairperson, and hidden from all other users.

    I changed the display method to “Hide”, but this then displays the menu link to all logged-out users and hides it from all logged-in users (chairperson included)

    Please can you let me know if my settings are correct as per the image, and if they are, would you know of any other possible reasons why I am having the issues mentioned?

    Thank you.

    Ryan

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter TheBusinessCat

    (@thebusinesscat)

    Hi there,

    My apologies, the problem is not with the plugin, but with my custom code I created.

    Please ignore this support request.

    Thank you,

    Ryan

    Plugin Author HelgaTheViking

    (@helgatheviking)

    well these are the best kinda messages for me… When you solve the problem yourself.

    For reference, the plugin actually uses current_user_can which relies on capabilities since WP doesn’t recommend using roles for testing who can do what….even though the UI is better. For the plugin that means there can sometimes be overlap if two roles have similar capabilities.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Nav Menu Shows To All Users’ is closed to new replies.