Show Visitor IP
Show Visitor IP - Simply display visitor IP Address & visitor another location info using by IP on post or page, anywhere using shortcode.
Solid choice
Show Visitor IP is a solid plugin choice in 2026, with a few things worth checking first. It runs on 300+ sites, is rated 3.6/5 and was last updated 3 months ago, and scores 71/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (300+ active installs)
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 Show Visitor IP stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| country code | #58 |
| ip address | #19 |
| lat | #10 |
| long | #35 |
| region | #43 |
Version adoption
Share of active sites per release.
Rating breakdown
★★★★★★★★★★ 3.6 from 5 reviews
About Show Visitor IP
From the official readme · v5.3Description
This plugin simply display Visitor IP Address & visitor location info using by visitor IP on post or page, anywhere using shortcode.
Very simple to install, simple to use, light weight.
External services
The location shortcodes ([svip_location]) need to resolve the visitor IP address into a location. To do that, the plugin sends the visitor IP address to a third party geolocation service over HTTPS. No other data is transmitted, and nothing is sent unless a location shortcode is actually used on the page. Because an IP address is personal data in some jurisdictions (for example under the GDPR), you should mention this in your own privacy policy.
Two services are used, neither of which needs an account or an API key:
- ipwho.is (primary) – https://ipwhois.io/ – terms: https://ipwhois.io/terms – privacy: https://ipwhois.io/privacy – 1,000 requests per day, commercial use allowed.
- freeipapi.com (fallback) – https://freeipapi.com/ – terms: https://freeipapi.com/terms – 60 requests per minute, commercial use allowed.
The fallback is only contacted when the primary is unreachable or does not carry the value a shortcode asked for. In practice ipwho.is answers everything except type="currency", which it does not provide, so a page that does not use the currency shortcode never contacts freeipapi.com at all.
Lookups are cached for 12 hours per IP address and shared between all shortcodes on a page, so a returning visitor causes no requests at all.
The plain [show_ip] shortcode does not contact any external service.
Page caching
The output of these shortcodes is different for every visitor. The plugin therefore sets the DONOTCACHEPAGE constant when a shortcode is rendered, which most caching plugins honour, so a page showing an IP address is not stored and served to other people. If your caching setup ignores that constant, exclude those pages from the cache manually.
Sites behind a proxy or CDN
By default only REMOTE_ADDR is used, because the HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR headers can be forged by the visitor. If your site sits behind a reverse proxy, load balancer or CDN that sets those headers, opt in by adding this to wp-config.php:
define( 'SVIP_TRUST_PROXY_HEADERS', true );
Filters
svip_get_ip– filter the detected IP address.svip_trust_proxy_headers– enable or disable the proxy headers.svip_providers– reorder, remove or add geolocation services, for example a paid endpoint with an API key. Each entry is an array ofurl(with%swhere the IP goes) andparse(a callback turning the decoded response into the plugin’s field names).svip_request_timeout– change the per request timeout, 3 seconds by default.svip_cache_lifetime– change how long a location lookup is cached.svip_disable_page_cache– return false to stop the plugin settingDONOTCACHEPAGE.
Installation
Use WordPress Add New Plugin feature, searching “Show Visitor IP”, or download the archive.
- Log in to your website administrator panel
- Go to Plugins page, and add new plugin
- Upload plugin
- Click Install Now button
- Then click Activate Plugin button
Shortcodes:
[show_ip]
[svip_location]
[svip_location type=”countryCode”]
[svip_location type=”region”]
[svip_location type=”regionCode”]
[svip_location type=”lat”]
[svip_location type=”long”]
[svip_location type=”city”]
[svip_location type=”countryName”]
[svip_location type=”timeZone”]
[svip_location type=”currency”]
The type attribute is not case sensitive. An unknown or missing type returns the country name.
Changelog
This is a security and performance release. Updating is strongly recommended.
5.3
- Switched geolocation to ipwho.is with freeipapi.com as a fallback. Both are used over HTTPS and both allow commercial use, unlike the previous service, whose free endpoint was HTTP only and restricted to non-commercial use.
- Requests now go through a provider layer, so a service being down or rate limited no longer means blank output, and sites can plug in their own service with the
svip_providersfilter. - Security: the visitor IP address is now validated and escaped before being printed, so a forged request header can no longer inject HTML or JavaScript into the page.
- Security: the values returned by the geolocation service are escaped on output.
- Security: the spoofable HTTP_CLIENT_IP and HTTP_X_FORWARDED_FOR headers are no longer trusted by default. Sites behind a proxy or CDN can opt in with the SVIP_TRUST_PROXY_HEADERS constant.
- Only the first entry of an X-Forwarded-For chain is used, instead of the whole comma separated list.
- Location lookups are now cached for 12 hours per IP and reused across shortcodes on the same page, instead of calling the geolocation API on every render. This keeps the site well inside the free rate limits.
- Added
type="regionCode"for the short region code, alongside the existingtype="region"for the full name. - Added a 3 second timeout to the geolocation request, so a slow API cannot hold up page rendering.
- Proper error handling for the geolocation request: WP_Error, non 200 responses and failed lookups are handled instead of producing PHP notices.
- Fixed
[svip_location]used without atypeattribute causing a PHP error. - Fixed loose matching of the
typeattribute, where for example any value containing “lat” returned the latitude. Types are now matched exactly and are case insensitive. - The plugin now asks page caching plugins not to cache pages containing these shortcodes.
- Functions and filters are prefixed with
svip_to avoid collisions. The old function names and thewpb_get_ipfilter still work. - Added a direct file access guard, the missing plugin headers, and documentation of the external ip-api.com service.
- Fixed the stable tag, which did not match the plugin version.
5.2 – 06 March 2024
- Fixed the city shortcode issue.
1.0
- Initial release.
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 Show Visitor IP alternatives
All country code plugins →FAQ
Show Visitor IP: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is Show Visitor IP free?
Yes. Show Visitor IP is free to download and use from the official WordPress.org plugin directory.
Is Show Visitor IP safe to use in 2026?
Show Visitor IP is a solid plugin choice in 2026, with a few things worth checking first. It runs on 300+ sites, is rated 3.6/5 and was last updated 3 months ago, and scores 71/100 on our health check.
How many websites use Show Visitor IP?
Show Visitor IP is active on 300+ WordPress websites and has been downloaded 10,395 times since it launched in August 2017. It was downloaded 231 times in the last 30 days.
Does Show Visitor IP work with WordPress 7.1?
Yes. The developer has tested Show Visitor IP up to WordPress 7.1.5, the latest release. It requires WordPress 3.0 or newer.
What PHP version does Show Visitor IP need?
Show Visitor IP requires PHP 5.6 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Show Visitor IP last updated?
The latest version, 5.3, was released on September 9, 2026 (3 months ago).
Who makes Show Visitor IP?
Show Visitor IP is developed and maintained by Vikas Sharma.
What are the best alternatives to Show Visitor IP?
The most popular alternatives to Show Visitor IP are Country Code For Elementor… (10K+ installs), International Telephone Inp… (8K+ installs) and Contact Form Extender for D… (600+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card


