Found Image http://plugins.svn.wordpress.org/geolocator/assets/icon-128x128.png Geolocator | Plugin Review Network Skip to Content

Plugin Review Network

Plugin Review Network

an eye on the best wordpress plugins
Show Sidebar Hide Sidebar
[+] Sidebar [-] Sidebar
Plugin:
Rated:
80%
4 Stars (4 votes)

Home

WP.Org

ReadMe

Support
  • Author:
    Nerijus Masikonis
Version: 1.1
Requires: WP 4.1.1
Last Updated:3101 days ago
Downloads:2588
Installations: 100+
Usage Retention:3.86%
Tags:
    geolocator, ip based location, ip location, show for country, user country
Download Plugin Package

Geolocator

Released on March 26, 2015.
Download Plugin Package

Version: 1.1

Get website visitor's location based on IP address and show/hide specific content depending on country.

  • Description
  • Changelog
  • Screenshots


Get website visitor's location based on IP address and show/hide specific content depending on country.

Meta box

You can hide post for particular country by filling "Hide for" field in custom meta box in post's edit screen. That way the post will not be included to the loop and other parts of the website.

Shortcodes

Country

The most basic shortcode of the plugin is [geolocator] which displays country of the visitor.

Show

You can show some specific content for particular country by using [geolocator_show] shortcode. See example below.

[geolocator_show for="US"]This information is being shown to visitors from United States only.[/geolocator_show]

The shortcode accepts "for" attribute. It should be a 2-letter ISO code of the country you want to show the content for.

Hide

You can hide some specific content for particular country by using [geolocator_hide] shortcode. See example below.

[geolocator_hide for="US"]This information is NOT being shown to visitors from United States.[/geolocator_hide]

The shortcode accepts "for" attribute. It should be a 2-letter ISO code of the country you want to hide the content for.

Widget

You can display country of the visitor by using Geolocator's widget. It allows you to choose a custom text.

Credits

This plugin includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com.

1.1

  • Refactored framework of the plugin, it's more future-proof now;
  • Changed data source to GeoLite-Country database by MaxMind;
  • Created shortcodes, widget and custom post meta box.

1.0.1

  • Depreciated Telize API provider since it does not work anymore;
  • Improved the code style to match more the one defined in Codex.


Shortcodes of the plugin in post's edit screen.
Screenshot 1


Shortcodes displayed in the listing of theme.
Screenshot 2


Custom meta box that allows to hide post for country.
Screenshot 3


Simple widget that displays country of the visitor.
Screenshot 4


Plugin settings, it allows to set fallback IP.
Screenshot 5



 

Click here to cancel reply.

Click here to cancel reply.


*

*


Please copy the string jzyJp7 to the field below:

Home | Sitemap | Contact
Network Skin Theme for BioShip by WordQuest
Password Reset
Please enter your e-mail address. You will receive a new password via e-mail.