• Resolved Paul

    (@pawelszroeder)


    Hello, I want to hide box on German language, I set up like this:

    if URL -> does not contain -> /en
    if URL -> does not contain -> /en/

    But it doesn’t hide box. It shows in every language (WPML). My url is domain.com/en/
    Any idea?

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Contributor Lap

    (@lapzor)

    Have you set it to “match any” or “match all”

    Maybe you can show me a screenshot of your exact conditions for the box?
    You can upload the screenshot anywhere, for example on imgur.com, and share a link to the image here. Thanks!

    Thread Starter Paul

    (@pawelszroeder)

    Hi, “match any”.
    Screenshot:

    View post on imgur.com

    Box is still visible in EN and DE language version.

    Plugin Contributor Lap

    (@lapzor)

    Since you used “match any” in combination with “does not” it will always match 1 of the rules and thus always show the popup.

    I believe you might want to switch it to “match all” so that instead of “not a” OR “not b” (mtching a, b and c) it because “not a” AND “not b”(matching only c)

    Hope that helps. If you have any questions, please let me know!

    Thread Starter Paul

    (@pawelszroeder)

    Of course you’re right!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘hide on language’ is closed to new replies.