Show IP address
Show IP address
Description
This plugin displays your visitor’s IP address using a shortcode. It’s lightweight, fast, and ideal for developers, diagnostics, and secured areas.
Great for:
- Your home page
- Posts
- Pages
Features
- Shortcode to display the visitor’s IP address:
[show_ip] [show_ip]– Display visitor IP address[show_ip_hostname]– Display IP hostname[show_ip_useragent]– Display browser user agent[show_ip_referrer]– Display referrer URL- Works on pages, posts, and widgets
- Lightweight and fast – no bloat or external requests
- Dashboard widget for quick admin view
- Compatible with all modern WordPress versions
- Zero external API calls – works on all hosting environments
Perfect for technical websites, diagnostics pages, or simply showing your visitor what their current IP address is as well as there refering data using optional tags.
Dashboard widget:
- Includes a dashboard widget that displays your current IP and offers helpful info on future updates.
This is a FREE plugin
This simply shows the IP address of a visitor if they land on a specific page, you simply put your tag where you want your visitor to see their IP address, that’s it!
This tag works on specific pages or widgets by simply adding in the tag [show_ip]. Your IP address also shows on your admin dashboard.
To show an IP address on any of your pages you could use:
What’s My IP Address: [show_ip]
Installation
Installation
- Download and unzip the plugin
- Save to your desktop and prepare for upload to your WordPress website
- Upload it to your
/wp-content/plugins/folder via FTP or use the built-in WordPress Plugin Installer - Activate and use
[show_ip]in a post, page, or widget.
If you want to install the plugin manually, download and unzip the show-ip-address.zip file and upload to the /wp-content/plugins/ directory. Then activate the plugin through the Plugins section in WordPress.
Or
- Install directly from the WordPress plugin area
- Activate
You can find, download and install Show IP address directly from the Plugins section in WordPress.
Issues
If you experience CSS issues with a class, make sure you dont have the following class in your CSS file, .box-ip or .img-show-ip those are two custom classes used by this plugin
Widgets
This simply shows an IP address on a specific page or widget by simply adding in these tags [show_ip], [show_ip_hostname], [show_ip_useragent], [show_ip_referrer].
Template Tags
[show_ip] – Use this tag on your pages to show your IP address.
[show_ip_hostname] – Display IP hostname
[show_ip_useragent] – Display browser user agent
[show_ip_referrer] – Display referrer URL
Faq
Q). Will this work on any WordPress installation?
>
A). This depends on your server configuration and PHP version, but the plugin is tested with all standard WordPress environments.
Q). I have errors on my dashboard, it shows shell_exec() has been disabled for security reasons
>
A). The dashboard widget may use shell_exec() for uptime info. If it’s disabled on your server, the core functionality of the plugin (IP display) will still work fine.
Reviews
Works perfect
By M.F. Jong (mfjtf) on July 14, 2018
Show IP Address worked perfectly out of the box
By zixus on September 3, 2016
The plugin worked as expected without any issues giving accurate information about the site visitors IP address, should be a great solution for those that need it.
Developer fixed "invalid header" problem
By trishahdee on September 3, 2016
UPDATE: Developer fixed problem so I am changing my 1-star review to 5-stars as it is working great now. Thank you!
---- Original Review ----
Can not activate the plugin. When I try I get the following message:
The plugin does not have a valid header.
A work in progress
By Keith Griffiths (Keithgriffiths76) on September 3, 2016
I thought I would create a simple plugin,that does what its meant to do, it's simple and it works.
Working on a few issues to do with 'shell_exec()' but apart from that it works.
Poor Support - Dashboard Errors UPDATED!
By luckyfox on September 3, 2016
As promised, the plugin has been revised/updated and returned to it's roots of being a plugin designed to show one's IP and doing it correctly and effectively. Glad to see we were able to get things sorted! Thank you so much for listening and working with feedback, author!
Updated to 5 stars for doing what it's meant to do, simple and well!
ORIGINAL REVIEW ( 1 Star )
Created support topic over 2 months ago.
https://wordpress.org/support/topic/disabled-shell_exec
Even went so far as to attempt to contact him via his personal site to ensure he was made aware of this problem and support topic via http://www.keith-griffiths.com/contact-me
No reply at all.
Creator boasts "Any suggested updates I'll consider in each build." but can't be bothered to provide support for an issue that has arisen specifically from this plugin.
1 star, because no lower rating is available, due to errors and nonexistent support.
Changelog
1.0
- Initial public release.
1.1
- Added in a settings area and updated the admin display.
1.2
- Added in a server uptime section onto the dashboard widget.
1.3
- Removed the server uptime section as it was causing issues on specific hosting platforms. Removed the image from the mian dashboard.
1.4
- Updated content, source code and images.
1.5
- Updated contact URL, and performance compatibility tested up to version 5.7.2.
1.6
- Code review and content amends, tested up to version 6.2.1
1.7
- Improved shortcode logic to handle multiple IPs via
HTTP_X_FORWARDED_FOR - Escaped IP and hostname output to prevent potential XSS vulnerabilities
- Fixed hardcoded version number in the dashboard widget
- Moved stylesheet to proper WordPress
wp_enqueue_scriptsaction - Corrected minor typos and wording in the admin settings page
- Tested and Confirmed compatibility with WordPress 6.8.2
- Added optional QR code for Buy Me a Coffee donations
1.8
- Added new shortcodes:
[show_ip_hostname],[show_ip_useragent],[show_ip_referrer] - Refactored structure to ensure zero external dependencies



