• Resolved jono543

    (@jono543)


    Hi,

    1.) Is there any way to show/hide content depending on current URL? if not any plans on adding this feature in the near future?

    For example

    If URL contains “example.com/members-area” then show menu
    if URL contains “example.com/members-area” then hide menu

    I’m displaying a menu item site wide, I need to hide/display the menu depending on the current URL regardless of if the user is logged in/out, user is admin, editor etc….

    thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author HelgaTheViking

    (@helgatheviking)

    It would probably be best to create a page “stub”. Then you can add that particular page and define the NMR role conditions for that page’s corresponding menu item. Though a custom menu item should work too, I just haven’t tried that in a long time.

    NMR only works on the menu items. It doesn’t hide/show entire menus or any other content.

    Thread Starter jono543

    (@jono543)

    thanks for the info ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘show/hide content depending on current URL?’ is closed to new replies.