Content By Location

      Geen reacties op 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

  1. screenshot-1.png

    screenshot-1.png

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.

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

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