• Resolved zurbrandon

    (@zurbrandon)


    First, thanks for the amazing plugin!

    Using the GEOIP Plugin with the option to add the country code to the body class, but it appears to be failing for most countries. I’ve got it to work with Germany Canada & Ireland, but can’t get it to work for nearly anywhere else including the UK and Netherlands.

    Thoughts on this functionality? Have you been able to get the body class to show up for these other locations?

    Thanks!

    https://www.ads-software.com/plugins/geoip-detect/

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

    (@benjamin4)

    My suspicion: are you using the hostinfo-Datasource? It is really incomplete. Try the Maxmind “Automatic download”.

    As an example, 31.193.134.104 gives nothing in hostinfo, but ‘GB’ in Maxmind’s free database.

    Thread Starter zurbrandon

    (@zurbrandon)

    That was perfect, thank you so much and sorry about that.

    Any thoughts on how i would then have a dropdown where users could switch locations?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Body Class Not Working’ is closed to new replies.