I’m looking for a similar feature, I believe.
I have a menu item that I want any logged out user as well as any logged in user, EXCEPT ONE role, to see.
I can set an item to be visible to all logged in except the one role, but then logged out users can’t see it when they should be able to.
Do I need to make multiples of the same menu item, just with different restrictions?
For example:
Item A – visible to logged out users
Item A (again) – visible to logged in except specified role
Item B – visible only to logged in specified role
EDITED TO ADD: The above is what I’ve done for now. It might make your menu editor look cluttered, but it ensures the right menu item shows for the right people.
-
This reply was modified 7 months ago by
Sunfire.
@andra0412 – Appreciate the request. We have it on our issue tracker for consideration, but very few sites at this time are looking to target one user for a specific menu item, so if I’m being honest, as a team of only 2 supporting multiple popular plugins, I’m not sure its very high on the priority list.
Further we have already identified it as a potential premium only feature due to the limited use cases it solves: https://github.com/JunglePlugins/User-Menus/issues/16
@chillsunfire – It sounds like your after something different, but yes, duplicating the menu item is the right solution here.
Hope that helps.
Thanks for the follow up, Daniel.
So far, the duplicated menu items seems to be working.
Making this a Premium option does make sense in this case.