WordPress plugin intelligence profile

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.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version5.3
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 3.0 · PHP 5.6
Directory statusactive
Last directory update9 Sept 20261mo ago
Active installations300Adoption metric — not a quality score
WordPress.org rating3.6 / 5 from 5 ratings
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records Show Visitor IP version 5.3 as active, updated 1mo ago and tested up to WordPress 7.1.

Overview

About this plugin

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. 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. 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 of url (with %s where the IP goes) and parse (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 setting DONOTCACHEPAGE.
WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • country code
  • ip address
  • lat
  • long
  • region
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 3.0 · PHP 5.6
Update activity9 Sept 20261mo ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

WordPress compatibility7.0.47.1
Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.