🔥 Black Friday Sale: Get 65% OFF Any PageForge Pro Plan! Use code BF65 Claim Offer →
Compte Get it free
IP2Location Variables icon
Activement maintenu Testé avec WP 7.1 #4 in geo-targeting

IP2Location Variables

Create location based content easily by integrating IP geolocation into your site. Supports IPv4 and IPv6.

Installations actives100+100+ niveaux
Téléchargements · 30D427▲ +117.9% vs prev. 30d
Évaluation2.3/53 avis
Score de santé67/100Bon
Téléchargements de tous les temps14KDepuis septembre 2013
Support résolu—Aucun fil de discussion récent
A besoin deWP 6.0PHP 7.4+
Téléchargements · 7j230▲ 3.8× week over week
Notre verdict

Choix solide

IP2Location Variables is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites, is rated 2.3/5 and was last updated 7 days ago, and scores 67/100 on our health check.

  • Développé activement — Dernière mise à jour il y a 7 jours
  • Testé avec le dernier WordPress (7.1)
  • Petite base d'utilisateurs (plus de 100 installations actives)
  • Low rating so far — 2.3/5 from only 3 reviews

Comment s'accumule-t-il ?

Côte à côte sur les installations, les mises à jour, les évaluations et le support

Téléchargements quotidiens

265278Aug 31Oct 14Nov 28
Hier17
Moyenne quotidienne (1 ans)6
Jour de pointe105Nov 23, 2026
12 Derniers mois2.3K

Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.

Classements

Where IP2Location Variables stands today

WordPress.org Classements de recherche

Position en direct dans la recherche de plugins, Top 100
Mot-cléPositionPlugins concurrentsCatégorie
geo-targeting #31 193 Best geo-targeting plugins →
geolocation >100 995 Best geolocation plugins →
ip location #58 1,873 Best ip location plugins →
ip2location #4 29 Best ip2location plugins →
IPv4 #20 394 Best IPv4 plugins →

Adoption de version

Part de sites actifs par version.

  • 2.10100.0%

Répartition des notes

★★★★★★★★★★ 2.3 from 3 reviews

  • 5★33.3%
  • 4★0.00%
  • 3★0.00%
  • 2★0.00%
  • 1★66.7%

About IP2Location Variables

From the official readme · v2.10.2

Description

This useful library makes it easy to conveniently find website visitors location and provides geographic information based on IP address lookup. It also can be used to display geo-data info in posts for specific locations and to help you create geo-target marketing campaigns.

It is a library derived from https://www.ip2location.com/developers/php but works as a WordPress plugin to simplify the setup and ease the integration work. It supports both the IPv4 and IPv6 address.

Below are the geolocation information you can retrieve from this library:
* Country code
* Country name
* Country flag
* Region name
* City name
* Latitude and longitude
* ZIP code
* ISP
* Domain name
* Time zone
* Net speed
* IDD code
* Area code
* Weather station code & name
* MNC, MCC, mobile carrier name
* Elevation
* Usage type
* Address type
* Category
* District
* AS Number
* AS Name
* AS Domain
* AS Usage Type
* AS CIDR

This plugin supports both IP2Location IP geolocation BIN data and web service for geolocation queries. If you are using the BIN data, you can update the BIN data every month by using the wizard on the settings page for the most accurate result. Alternatively, you can also manually download and update the BIN data file using the below links:

BIN file download: IP2Location Commercial database | IP2Location LITE database (free edition)

If you are using the IP2Location IP geolocation web service, please visit IP2Location Web Service for details.

Usage

Call the function ip2location_get_vars() in any pages, plugins, or themes to retrieve IP2Location variables. The variables are returned in object. To use lookup for a custom IP, use ip2location_get_vars(‘IP_ADDRESS’);

More Information

Please visit us at https://www.ip2location.com

Installation

We always recommend the automatic installation via the plugin menu. In case you having the difficulties to do so, below are the manual install steps:

  1. Téléchargez le dossier ip2location dans le répertoire /wp-content/plugins/.
  2. Activez le plugin via le menu "plugins" dans WordPress.
  3. You can now start using IP2Location Variables to customize your contents.

Please take note that this plugin requires minimum PHP version 5.4.

Journal de modifications

  • 2.10.2 Fixed Plugin Check issues.
  • 2.10.1 Tested up to WordPress 7.1.
  • 2.10.0 Added district, AS number, AS name, AS domain, AS usage type and AS CIDR variables.
  • 2.9.10 Tested up to WordPress 7.0.
  • 2.9.9 Tested up to WordPress 6.9.
  • 2.9.8 Security fixes.
  • 2.9.7 Tested up to WordPress 6.8.
  • 2.9.6 Fixed CSRF vulnerabilities.
  • 2.9.5 Fixed web service validation error when insert both IP2Location and IP2Location.io keys.
  • 2.9.4 Tested up to WordPress 6.7.
  • 2.9.3 Sanitized input fields.
  • 2.9.2 Tested up to WordPress 6.6.
  • 2.9.1 Tested up to WordPress 6.5.1.
  • 2.9.0 Added ip2location.io web service support.
  • 2.8.7 Tested up to WordPress 6.4
  • 2.8.5 Fixed connection error.
  • 2.8.4 Tested up to WordPress 6.1.
  • 2.8.3 Tested up to WordPress 6.0.
  • 2.8.2 Enhanced checking.
  • 2.8.1 Tested up to WordPress 5.9.
  • 2.8.0 Added new address type and category fields.
  • 2.7.3 Tested up to WordPress 5.8.
  • 2.7.2 Tested up to WordPress 5.7.
  • 2.7.1 Tested up to WordPress 5.6.
  • 2.7.0 Minor bug fixes and added supports up to DB24.
  • 2.6.0 Updated file structures to use composer for IP2Location libraries.
  • 2.5.12 Tested with WordPress 5.5.
  • 2.5.11 Fixed parsing issues.
  • 2.5.10 Tested with WordPress 5.4.
  • 2.5.9 Increased download timeout.
  • 2.5.8 Fixed typo.
  • 2.5.7 Minor fixes.
  • 2.5.6 Added feedback request.
  • 2.5.5 Tested with WordPress 5.3.2.
  • 2.5.4 Fixed variable errors when result not found.
  • 2.5.3 Updated IP2Location library.
  • 2.5.2 Updated documentation links.
  • 2.5.1 Tested up to WordPress 5.1.1.
  • 2.5.0 Upgraded IP2Location API to v2.
  • 2.4.0 Added debug log.
  • 2.3.1 Minor changes.
  • 2.3.0 IP2Location database update changed to use download token.
  • 2.2.0 Able to lookup specific IP address.
  • 2.1.1 Fixed conflicts when multiple IP2Location plugins installed.
  • 2.1.0 Use IP2Location PHP 8.0.2 library for lookup.
  • 2.0.8 Use latest IP2Location library for lookup.
  • 2.0.7 Fixed close sticky information panel issue.
  • 2.0.6 Use latest IP2Location library and updated the setting page.
  • 2.0.5 Fixed error when creating admin option.
  • 2.0.4 Fixed uninstall hook warning message.
  • 2.0.3 Fixed uninstall hook.
  • 2.0.2 Fixed empty variable on first load.
  • 2.0.1 Tested with WordPress 4.4.
  • 2.0.0 Added suport to IP2Location Web Service. Rewrote the codes behind.
  • 1.1 Support automated bin download and server variables for IP2Location.
  • 1.0 Initial release

Journal des modifications complet sur WordPress.org →

Pour les développeurs

Est-ce votre plugin ? Montrez les chiffres.

Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.

Badge d'installations actives Badge Badge de score de santé

Best IP2Location Variables alternatives

All geo-targeting plugins →
Alternatives
Rang Plugin Installations actives Évaluation Mise à jour Santé
1 belingoGeo belingoGeo The plugin adds the ability to select cities, unique pages are created with a unique url… by Belingo 1K+ ★★★★★★★★★★ 5 (13) il y a 5 jours 82
2 IP2Location Tags IP2Location Tags Displays visitor’s geolocation information, geo-targeting and customize the page content… par ip2location 200+ ★★★★★★★★★★ 3.7 (9) 3 semaines plus tôt 76
3 Geo Content Geo Content Change content based on visitor geolocation (country, state, city, lat/lng/radius) by geotargetly 100+ ★★★★★★★★★★ 4.8 (8) il y a 12 mois 51
5 Geo Targetly Geo Translate Geo Targetly Geo Translate Auto-translate and localize your website based on visitor location. Show the right language… by geotargetly 10+ ★★★★★★★★★★ 5 (4) il y a 12 mois 45
6 GT-Geo Targeting GT-Geo Targeting Ability to show content based on country. Show content if a visitor is from a list of… by Pranav Rastogi 10+ ★★★★★★★★★★ Aucun avis il y a 17 ans 23
7 SwiftAd SwiftAd Swift Ad lets website administrators easily manage display advertising right from their… by Richard Alva 10+ ★★★★★★★★★★ 5 (3) Il ya 10 ans 30
8 SwiftPost SwiftPost Swift Post lets website administrators easily turn standard posts into powerful sponsored… by Richard Alva 10+ ★★★★★★★★★★ 5 (5) Il ya 10 ans 35
9 AR Advertising Management AR Advertising Management Plugin to manage advertisements on your website. Ultimate Ad Management for WordPress by CoolS2 <10 ★★★★★★★★★★ Aucun avis il y a 8 mois 36
10 Geo Targetly Geo Javascript Geo Targetly Geo Javascript Execute JavaScript code on your website based on a visitor's geolocation using our IP… by geotargetly <10 ★★★★★★★★★★ 5 (2) il y a 12 mois 43
11 Geo Targetly Geo Consent Geo Targetly Geo Consent Display cookie consent banners only where needed, by country. Stay compliant with global… by geotargetly <10 ★★★★★★★★★★ 5 (3) il y a 12 mois 43

FAQ

IP2Location Variables: quick answers

Réponses directes, extraites des données en direct WordPress.org.

Source : WordPress.org

Is IP2Location Variables free?

Yes. IP2Location Variables is free to download and use from the official WordPress.org plugin directory.

Is IP2Location Variables safe to use in 2026?

IP2Location Variables is a solid plugin choice in 2026, with a few things worth checking first. It runs on 100+ sites, is rated 2.3/5 and was last updated 7 days ago, and scores 67/100 on our health check.

How many websites use IP2Location Variables?

IP2Location Variables is active on 100+ WordPress websites and has been downloaded 13,953 times since it launched in September 2013. It was downloaded 427 times in the last 30 days.

Does IP2Location Variables work with WordPress 7.1?

Yes. The developer has tested IP2Location Variables up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.

What PHP version does IP2Location Variables need?

IP2Location Variables requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.

When was IP2Location Variables last updated?

The latest version, 2.10.2, was released on November 23, 2026 (7 days ago).

Who makes IP2Location Variables?

IP2Location Variables is developed and maintained by IP2Location.

What are the best alternatives to IP2Location Variables?

The most popular alternatives to IP2Location Variables are belingoGeo (1K+ installs), IP2Location Tags (200+ installs) and Geo Content (100+ installs).

Propulsé par PageForge

Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.

PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.

  • CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
  • Son propre titre, URL, SEO champs et schéma pour chaque page
  • Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
  • Gratuit sur WordPress.org, pas de carte de crédit

↑↓ bouger↵ ouvrir