Content By Location

With this plugin you can filter post or page content by the country (web api) of the user surfing the site, all of that using simple shortcode

Author:Yehuda Hassine (profile at wordpress.org)
WordPress version required:3.1
WordPress version tested:3.3.2
Plugin version:1.0.3
Added to WordPress repository:24-04-2012
Last updated:09-02-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:90
Rated by:2
Plugin URI:http://wordpress.org/extend/plugins/content-b...
Total downloads:1 460
Active installs:10+
plugin download
Click to start download
This plugin in his early stages (but stil stable), please let me know if you having any bug.

to show content by country just use the shortcode like this:

[cbl country="country code"] 
your content 
[/cbl]

the country code can found here: SO_3166-1_alpha-2

the api's (web services) you can choose from (under settings):

  • smart-ip.net
  • hostip.info
  • maxmind.com

please notice: the maxmind database is local and from time to time check out this page for new updates:geolitecountry. the geoip.dat need to be extrect to plugin path :content-by-location/geoip.

for any qustion you can contact me here: http://wpdevplus.com/contact/

Thanks!

I would like to thank my wife for sleeping alone while i wrote this plugin (thanks shiri 🙂