This plugin hasn’t 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.

Content By Location

Description

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 🙂

Screenshots

  • screenshot-1.png

Installation

  1. Download the plugin, unzip it and upload it to /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings » Content By Location
  4. Adjust the settings as you wish

FAQ

Q. what’s the diffrence between the services your plugin provide ?
A. basicly ? none. i’m just giving more option for future cases, like : service closed, one is more acurate then the other.

Contributors & Developers

“Content By Location” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.3

  • bug – content dissaper (or unknow location message) even when not using shortcodes,
    Thanks to zavoq – Fixed

1.0.2

  • bug – in case using lowercase country code in shortcode – Fixed

1.0.1

  • stupid remark i forgot

1.0

  • Initial release