Support » Plugin: Nav Menu Roles » Anyway to show a Nav item for both logged-out AND specific logged-in users?

  • Resolved travcannon


    Hi, First I love your plugin it is helping my website tremendously. The only issue I have is I am wondering if there is a way to show a menu item for both logged-out users, as well as specific logged-in users.

    With Woocommerce, once a user buys a product they are considered a ‘customer’ within the system and can log in to see their “my account” page, which then the system considers them logged in, so my nav menu item disappears.

    Ideally, I want to make it so that any potential customers that are ‘Logged Out’ and any repeat customers that have ‘Logged in’ can see the same item.


    • This topic was modified 3 months ago by travcannon.

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

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author helgatheviking


    Hi there,

    Glad you like the plugin, don’t forget to leave a review!

    Anyway, what you are asking is not possible by default. However, the plugin is extensible and you can add “pseudo” roles… and apply your own hide/show logic to them.

    This is explained here and an example of this in action would be my WooCommerce Memberships compatibility bridge plugin.

    That’s probably more complex than you need, so start with the example in the FAQ. And I’d almost swear I answered a similar question here in the forums, but I can’t find it at the moment. You may want to check through some of the previous questions.

    Alternatively, I think you could create a duplicate of the menu item and show one for the logged out users and the other for the customers. This doesn’t scale nicely (the menu gets cluttered if doing this for multiple items) but it could work in a pinch.



    Thanks for the reply @helgatheviking. Yes, that solution would be a bit of an overkill.

    I have decided to duplicate the nav item and enable it for logged in users, customers to be specific.

    Thank you again for the plugin I will review!

    Plugin Author helgatheviking


    Glad that will work for you. Thanks for the review!



    Hi Helga,

    Can I ask a question that is very similar but I can’t quite get your answer to address it.

    I have three types of views:
    1. Not logged in – sees the ‘public’ menus
    2. Logged in as Customer – sees the Customer menus
    3. Logged in as Administrator – Want to see ‘public’ menus with Dashboard.

    Public menu items are set to Everyone can view, Customer menu items are set to Customer (and above) can view.

    (I’ll add a button or menu item (I hope) to click between Public, Dashboard and Members views for Administrators – that’s another mini-project!)

    Currently, the first 2 work but the Administrator can get to the dashboard but Visit Site sees no menu items. I expected that as Administrator was higher than Customer they should at least see the Customer menu items, possibly all menu items.

    Appreciate your guidance on this for me!


Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.