• Levis

    (@levismodding)


    Hi,

    I am a user of the Nav Menu Roles plugin and I have a feature request. Currently, I can check roles to hide or show menu elements, but sometimes I need more advanced logic. For example, every new registered member has the ‘Subscriber’ role, but if I add another role to a user, I need to hide certain menu elements based on this second role.

    It would be incredibly useful to have a feature similar to Elementor Pro’s ‘Display Conditions’ where you can use ‘AND’ and ‘OR’ logic for role-based rules. This way, I could set conditions such that a menu item is shown or hidden only if a user has both specific roles, or either of the roles.

    If you can implement this feature, I would be happy to make a donation in appreciation of your work.

    Thank you for your consideration!

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

    (@levismodding)

    Thanks

    • This reply was modified 4 months ago by Levis.
    Plugin Author HelgaTheViking

    (@helgatheviking)

    Hi @levismodding,

    Do you have a screenshot of what the Display Conditions looks like?

    Full disclosure, I don’t have a lot of capacity for new features on this plugin. I would be open to a pull request if you wanted to take a stab at it.

    In the short-term, you might be able to achieve what you need with a pseudo-role: which would add a checkbox to the admin UI and then allow you fine-grained control over the frontend display of the menu item.

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