• Resolved jono543

    (@jono543)


    Hi,

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

    For example

    [if url contains “example.com/members-area.” then show “this content A”]
    [if url contains “example.com/members-area.” then hide “this content B”]

    I know you can do it for logged in/out users. I’m displaying a menu item site wide that is a popover when clicked. In the popover content I need to hide/display custom content according to what the current pages/URL regardless of if the user is logged in/out.

    thanks ??

Viewing 1 replies (of 1 total)
  • Plugin Author Andrés Villarreal

    (@andrezrv)

    Hi there,

    Sorry, but what you need to do is not in the scope of this plugin. I guess you can still do it if play around with the Thide_This PHP class included within the plugin, but you’d need to create some custom code.

    Best,

    Andrés.

Viewing 1 replies (of 1 total)
  • The topic ‘Hide/show content if URL contains?’ is closed to new replies.