Geo IP Library
Geo IP Library enables sort of simple but powerful functions in order to provide geo ip country features on WordPress. Main features so far until now:
Consider an alternative
Geo IP Library shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 9 years ago, and scores 23/100 on our health check.
- Small user base (10+ active installs)
- Very few reviews so far
- No update in 8 years
- Only tested up to WordPress 4.8 (latest is 7.1)
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where Geo IP Library stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| custom content | >100 |
| geo location | >100 |
| geo-ip | >100 |
| library | >100 |
| standalone | >100 |
Version adoption
Share of active sites per release.
About Geo IP Library
From the official readme · v0.9.7Description
Geo IP Library enables sort of simple but powerful functions in order to provide geo ip country features on WordPress. Main features so far until now:
- Static PHP functions to be used in plugins and themes.
- Shortcodes to display different contents by country or a bunch of countries.
- Update management of local library from its source.
About library
This plugin uses a third-party PHP single library file which does not have external dependencies, so it comes within the plugin and works locally. It is intended for anyone who don’t want to use (or depend of) web services or either implement native PHP GeoIP extensions.
The library was made by Chirag Mehta.
Library update
Since working with a local library can be a time-saver, its data may get deprecated sometime in the future. This plugin allow update your local library from its remote source. To do that, go to admin dashboard (specifically under Tools menu), where the library can be updated without any risk.
Updating restriction
The library can be updated every 72 hours. It is not really necessary a minor interval.
How to use
Shortcode
Display different content for each country (or countries) within posts and pages by using [geo-ip] or [geo] tags. To do magic, see the following syntaxes:
/**
* INCLUDE PROPERTY
* Display content to a specific country or many countries
*/
// [geo-ip] tag
[geo-ip include="{2-digits country code [, other countries]}"]{plain text, HTML and/or shortcodes}[/geo-ip]
// [geo] tag
[geo include="{2-digits country code [, other countries]}"]{plain text, HTML and/or shortcodes}[/geo]
/**
* EXCLUDE PROPERTY
* Display content to all countries but...
*/
// [geo-ip] tag
[geo-ip exclude="{2-digits country code [, other countries]}"]{plain text, HTML and/or shortcodes}[/geo-ip]
// [geo] tag
[geo exclude="{2-digits country code [, other countries]}"]{plain text, HTML and/or shortcodes}[/geo]
- [geo] tag is only available if no other plugin is using it (since it’s a pretty common word).
- include and exclude cannot be used together due to their purpose.
Coding
The following static functions can be used anywhere along GeoIPLibrary class:
/** Returns the current client's IP address as STRING.
* It bypasses proxies and/or forwarding.
* Returns FALSE if it fails. */
GeoIPLibrary::get_client_address()
/** Returns the current client's ISO 3166-1 alpha-2 country code
* or the specified at $ip parameter as STRING.
* Returns FALSE if it fails. */
GeoIPLibrary::get_client_country_code(string $ip = '')
/** Returns the current client's country name
* or the specified at $ip parameter as STRING.
* Returns FALSE if it fails. */
GeoIPLibrary::get_client_country_name(string $ip = '')<h3>Contributions</h3>Geo IP Library is still in development, but currently stable. You can contribute with new ideas, coding improves/issues and even grammar/spelling check (english is not my mother language). Feel free to [make a pull request](https://github.com/ricardo-miguel/geo-ip-library/pulls) or [open an issue](https://github.com/ricardo-miguel/geo-ip-library/issues).
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best Geo IP Library alternatives
All custom content plugins →FAQ
Geo IP Library: quick answers
Straight answers, pulled from live WordPress.org data.
Live data from WordPress.org · checked Oct 14, 2026
Is Geo IP Library free?
Yes. Geo IP Library is free to download and use from the official WordPress.org plugin directory.
Is Geo IP Library safe to use in 2026?
Geo IP Library shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 9 years ago, and scores 23/100 on our health check.
How many websites use Geo IP Library?
Geo IP Library is active on 10+ WordPress websites and has been downloaded 1,597 times since it launched in October 2017. It was downloaded 43 times in the last 30 days.
Does Geo IP Library work with WordPress 7.1?
Geo IP Library is officially tested up to WordPress 4.8.33, while the latest release is 7.1.3. It may still work, but try it on a staging site first.
What PHP version does Geo IP Library need?
Geo IP Library requires PHP 5.3 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Geo IP Library last updated?
The latest version, 0.9.7, was released on October 18, 2017 (9 years ago).
Who makes Geo IP Library?
Geo IP Library is developed and maintained by Ricardo Miguel.
What are the best alternatives to Geo IP Library?
The most popular alternatives to Geo IP Library are Simple Custom Content (100+ installs), Custom Content (60+ installs) and Content Molecules (10+ installs).
Powered by PageForge
Want thousands of pages that rank like these? Build them in an afternoon.
This directory runs on the same engine as PageForge. Turn any spreadsheet, CSV or API into thousands of fast, SEO-ready WordPress pages — with schema, internal links and AI-written copy baked in.
- CSV, Google Sheets & API data sources
- AI content, schema & internal links per page
- Works with Elementor, Gutenberg, Yoast & Rank Math
- Free on WordPress.org — no credit card