• Resolved Anna Meurer

    (@almstudio)


    Hi,

    I try to show/hide some content for visitors from M?nchengladbach (and Erkelenz). So I tried this shortcode:

    [geoip_detect2_show_if city=”M?nchengladbach” operator=”or” city=”Erkelenz”]

    But this one doesn’t work correctly, only for the city ?Erkelenz“, but not for ?M?nchengladbach“. Any idea, why this could be? Or is it not possible to check for two cities with the operator or?

    Thanks for any help
    Anna

    The page I need help with: [log in to see the link]

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

    (@benjaminpick)

    You got it almost right. The problem is that WordPress can’t take two parameters with the same attribute name “city”, so instead you can write:

    [geoip_detect2_show_if city=”M?nchengladbach,Erkelenz”]

    Thread Starter Anna Meurer

    (@almstudio)

    Aaaahhhhh – ok, thank you so much ?? this explains everything ??

    You made my day.
    Cheers
    Anna

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘operator=”or”’ is closed to new replies.