• Resolved lukek

    (@lukek)


    Hi,

    I LOVE your plugin – and have a real quick question.

    Can someone please let me know how to display default content if no IP detection software is present (ie. when a Cloudflare account is not linked to a Staging site, because the Staging site uses the web hosts server URL).

    You can view our Staging site at https://grays.flywheelstaging.com/ (logging in to VIEW the site using username “flywheel” and password “soft-process”). We are using this plugin to determine whether a user is in Australia or rest-of-world, and to display a corresponding telephone number accordingly.

    I tried a gamut of options, as below, but can only ever get the International +61 number to show on the Staging site (ie. when no IP detection software is present), and NOT the local 1300 number (which would be ideal).

    [geoip_detect2_show_if country=”Australia”]1300 769 556[/geoip_detect2_show_if]
    [geoip_detect2_show_if not_country=”Australia”]+61 3 8360 7854[/geoip_detect2_show_if]
    [geoip_detect2_hide_if country=”Australia”]+61 3 8360 7854[/geoip_detect2_hide_if]
    [geoip_detect2_hide_if not_country=”Australia”]1300 769 556[/geoip_detect2_hide_if]

    Love to hear if anyone has a solution to this.

    It’s not super critical to have this working in Staging, but it would be great, and it would also be great to just know how to do this.

    Thanks kindly in advance,

    Luke

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

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Quick One – Default Content if No IP Detection Software’ is closed to new replies.