• kibiribi

    (@kibiribi)


    I wanted to investigate this code
    it didn’t work for me corractly.
    [geoip_detect2_hide_if property=”country.isoCode” property_value=”UKR”]
    [/geoip_detect2_hide_if]

    Is it possible to set\ print debug info – what I’ve got in shortcode?

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

    (@benjaminpick)

    isoCode is always 2-letter, i think. You can check it in the Lookup function of the backend, or add a shortcode for this:

    [geoip_detect2 property=”country.isoCode”

    Plugin Author Benjamin Pick

    (@benjaminpick)

    [geoip_detect2_show_if country=”Ukraine”] TEXT [/geoip_detect2_show_if]

    Ukraine, UKRAINE, ukraine – all work because the lower/upper case does not matter. It’s just important that the language is correct (the site language is used by default). That’s why an IsoCode might be better to use an two-letter ISO 3166-1 language code (UA).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘How to set debug info?’ is closed to new replies.