Plugin info

Total downloads: 3,844
Active installs: 60
Total reviews: 4
Average rating: 4
Support threads opened: 0
Support threads resolved: 0 (0%)
Available in: 1 language(s)
Contributors: 1
Last updated: 11/27/2017 (2956 days ago)
Added to WordPress: 3/26/2015 (10 years old)
Minimum WordPress version: 4.1.1
Tested up to WordPress version: 4.9.28
Minimum PHP version: f

Maintenance & Compatibility

Maintenance score

Possibly abandoned • Last updated 2956 days ago • 4 reviews

22/100

Is Geolocator abandoned?

Possibly abandoned (last update 2956 days ago).

Compatibility

Requires WordPress: 4.1.1
Tested up to: 4.9.28
Requires PHP: f

Languages

Similar & Alternatives

Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.

No similar plugins found yet.

Description

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.

Installation

No installation instructions available

Frequently Asked Questions

No FAQ available

Review feed

No reviews available

Screenshots

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

    Shortcodes of the plugin in post's edit screen.

  2. Shortcodes displayed in the listing of theme.

    Shortcodes displayed in the listing of theme.

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

    Custom meta box that allows to hide post for country.

  4. Simple widget that displays country of the visitor.

    Simple widget that displays country of the visitor.

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

    Plugin settings, it allows to set fallback IP.

Changelog

1.1

  • Refactored framework of the plugin, it’s now more future-proof;
  • 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.