Thread Starter
Ivana
(@polonium5)
Found a solution – the array of values should be entered without any spaces.
E.g. values must be listed as AT,BE,BG,HR,CY,CZ,DK
I am using https://github.com/yellowtree/geoip-detect/wiki/API:-Shortcodes (plugin) to detect the country code ([geoip_detect2 property=”country.isoCode”]. In conditions with the shortcode, I pick up on the country and then compare (as text) to country code:
https://gyazo.com/de98dcd7824bbd437002a2e93421f15c
Works excellent, except I am having an issue when comparing to multiple countries (https://ww.wp.xz.cn/support/topic/show-if-in_array_contains-conditions/)