WordPress.org

Ready to get started?Download WordPress

Plugin Directory

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

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 :-)

Requires: 3.1 or higher
Compatible up to: 3.3.2
Last Updated: 2013-2-9
Downloads: 744

Ratings

4 stars
4 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

0,1,0 100,1,1
100,1,1