WordPress Plugins

Country Filter

Country Filter plugin allows you to control the visibility of WordPress elements depending on the users country of origin. You can hide or show certain elements of a page or some sections of a post from users browsing from a particular country.

For example you could have a ‘donate’ button on a sidebar that displays only if the user is browsing from France. Or you could hide a particular paragraph in a post for users from a particular country. This can be used by marketing people to deliver targeted content to audiences.

Developers and designers could use the plugin to load different stylesheets based on the users country. Services like hulu.com uses techniques such as this to constrain viewership to a particular country.

Version 1.5.1 Released 2011-03-09

Plugin download and installation instructions can be found here.

15 thoughts on “WordPress Plugins

  1. Hi Sameer,

    I am very interested in this plug-in as I hope I could use it to display different advertising content to different site visitors based on geographic origin. Ultimately I could even use it to display different product pricing to visitors from different countries.

    I’ll be playing with it soon and will come back and comment here and at WordPress.org.


  2. Hi there, great plugin. I really hope a future update would include the ability to sort on city level not just country level. That would be asome.


  3. Great plugin – just what I was looking for. THere is a bug in hte example code though which was really annoying, till I found out!
    Where you have “uk”, it should be “gb” – very minor but it caused me a big headache!!

    Finally, do you know of an easy way to test the results? ie how to trick the website to think you are from another country so it will display the relevant changes. I know I could use proxies, but is there an easy way to do this as I always have trouble?


  4. Hi
    I must being a bit dim. But I’ve installed the plugin but cannot find instructions on how to use it. I can see shortcode instruction for ip2nation at but none for this plugin. where do I find instructions (can’t find them in readme.txt)

  5. Hi, sameer this is great plugin.

    Can I hire you to make it work with Maxmind GeoLite Country instead of ip2country database ? Maxmind Geo database is free and more accurate I think.

    You can mail me if you interested, we can talk about it.

  6. Just buy it, will give a try the Maxmind version of this plugin.
    Great work Sameer, worth to buy.

    Best Regards,

  7. Hi,
    does your plugin work together with caching? Since your shortcode is executed with PHP you can’t use any cache right?

  8. I’m interested in buying this plugin. I’m not really good in programming and would like to know if it’s possible to program it in a way that banner a is displayed for visitors from the US, banner b is displayed for visitors from the UK and either banner a, banner b or a third banner c is displayed for the rest of the world?


  9. I wish to know if this plugin works with the latest WP version and whether you will continue to support the plugin with newer versions of WP…. interested to get this one but must know this first.

Leave a Reply

Your email address will not be published. Required fields are marked *