I'm using 2 different CMS, WordPress and MyBB. I've searched for the answer but can find it nowhere. Any ideas?

  • Have you searched for Geo Targeting? – Trebor May 27 '19 at 16:13
  • Sorry but this question is considered off-topic because the solutions required are those in programming nature, coding based or requests for resources are off-topic. is more suited for Stack Overflow (SO). – Simon Hayter May 27 '19 at 17:33

You can roughly target people by nationality by checking their browser setting in JavaScript:

if (navigator.languages.includes("en-US") ||
    navigator.languages.includes("en-AU")) {
    // show the image and link


There are also ways of getting people's location using geo-lookup. Ideas here:


It may be easiest to just find plugins to do what you want, though.

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.