{"id":36967,"date":"2015-06-17T06:45:24","date_gmt":"2015-06-17T06:45:24","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/show-ip-address\/"},"modified":"2025-08-08T14:40:52","modified_gmt":"2025-08-08T14:40:52","slug":"show-ip-address","status":"publish","type":"plugin","link":"https:\/\/pcd.wordpress.org\/plugins\/show-ip-address\/","author":14466495,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.8","stable_tag":"1.8","tested":"6.8.5","requires":"3.6","requires_php":"5.6","requires_plugins":null,"header_name":"Show IP address","header_author":"Keith Griffiths","header_description":"","assets_banners_color":"6ea779","last_updated":"2025-08-08 14:40:52","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/www.keithgriffiths.co.uk","header_author_uri":"https:\/\/www.keithgriffiths.co.uk","rating":5,"author_block_rating":0,"active_installs":1000,"downloads":22848,"num_ratings":5,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0":{"tag":"1.0","author":"Keithgriffiths76","date":"2015-06-24 06:54:09"},"1.1":{"tag":"1.1","author":"Keithgriffiths76","date":"2015-07-11 20:44:10"},"1.2":{"tag":"1.2","author":"Keithgriffiths76","date":"2015-09-28 08:08:04"},"1.3":{"tag":"1.3","author":"Keithgriffiths76","date":"2016-05-25 07:41:46"},"1.4":{"tag":"1.4","author":"Keithgriffiths76","date":"2019-05-11 11:43:35"},"1.5":{"tag":"1.5","author":"Keithgriffiths76","date":"2021-05-14 06:26:46"},"1.6":{"tag":"1.6","author":"Keithgriffiths76","date":"2023-05-19 07:37:20"},"1.7":{"tag":"1.7","author":"Keithgriffiths76","date":"2025-08-08 11:26:39"},"1.8":{"tag":"1.8","author":"Keithgriffiths76","date":"2025-08-08 14:40:52"}},"upgrade_notice":{"":"<p>Latest version includes WP 6.8.2 compatibility and minor improvements.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"5"},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":1182928,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1182904,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0","1.1","1.2","1.3","1.4","1.5","1.6","1.7","1.8"],"block_files":[],"assets_screenshots":{"screenshot-3.gif":{"filename":"screenshot-3.gif","revision":3341713,"resolution":"3","location":"plugin"},"screenshot-2.gif":{"filename":"screenshot-2.gif","revision":3341713,"resolution":"2","location":"plugin"},"screenshot-1.gif":{"filename":"screenshot-1.gif","revision":3341713,"resolution":"1","location":"plugin"},"screenshot-4.gif":{"filename":"screenshot-4.gif","revision":3341713,"resolution":"4","location":"plugin"}},"screenshots":{"1":"Display short code","2":"Dashboard","3":"Short code in a widget"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[246082,3919,246083,179512,177160],"plugin_category":[],"plugin_contributors":[85712],"plugin_business_model":[],"class_list":["post-36967","plugin","type-plugin","status-publish","hentry","plugin_tags-display-ip","plugin_tags-ip-address","plugin_tags-ip-user-tools","plugin_tags-show-ip","plugin_tags-user-ip","plugin_contributors-keithgriffiths76","plugin_committers-keithgriffiths76"],"banners":{"banner":"https:\/\/ps.w.org\/show-ip-address\/assets\/banner-772x250.jpg?rev=1182904","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/show-ip-address\/assets\/icon-128x128.jpg?rev=1182928","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/show-ip-address\/trunk\/screenshot-1.gif?rev=3341713","caption":"Display short code"},{"src":"https:\/\/ps.w.org\/show-ip-address\/trunk\/screenshot-2.gif?rev=3341713","caption":"Dashboard"},{"src":"https:\/\/ps.w.org\/show-ip-address\/trunk\/screenshot-3.gif?rev=3341713","caption":"Short code in a widget"},{"src":"https:\/\/ps.w.org\/show-ip-address\/trunk\/screenshot-4.gif?rev=3341713","caption":""}],"raw_content":"<!--section=description-->\n<p>This plugin displays your visitor's IP address using a shortcode. It's lightweight, fast, and ideal for developers, diagnostics, and secured areas.<\/p>\n\n<h4>Great for:<\/h4>\n\n<ul>\n<li>Your home page<\/li>\n<li>Posts<\/li>\n<li>Pages<\/li>\n<\/ul>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Shortcode to display the visitor's IP address: <code>[show_ip]<\/code><\/li>\n<li><code>[show_ip]<\/code> \u2013 Display visitor IP address<\/li>\n<li><code>[show_ip_hostname]<\/code> \u2013 Display IP hostname<\/li>\n<li><code>[show_ip_useragent]<\/code> \u2013 Display browser user agent<\/li>\n<li><code>[show_ip_referrer]<\/code> \u2013 Display referrer URL<\/li>\n<li>Works on pages, posts, and widgets<\/li>\n<li>Lightweight and fast \u2013 no bloat or external requests<\/li>\n<li>Dashboard widget for quick admin view<\/li>\n<li>Compatible with all modern WordPress versions<\/li>\n<li>Zero external API calls \u2013 works on all hosting environments<\/li>\n<\/ul>\n\n<p>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.<\/p>\n\n<h4>Dashboard widget:<\/h4>\n\n<ul>\n<li>Includes a dashboard widget that displays your current IP and offers helpful info on future updates.<\/li>\n<\/ul>\n\n<h4>This is a FREE plugin<\/h4>\n\n<p>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!<\/p>\n\n<p>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.<\/p>\n\n<blockquote>\n  <h4>To show an IP address on any of your pages you could use:<\/h4>\n  \n  <p>What's My IP Address: [show_ip]<\/p>\n<\/blockquote>\n\n<!--section=installation-->\n<h4>Installation<\/h4>\n\n<ul>\n<li>Download and unzip the plugin<\/li>\n<li>Save to your desktop and prepare for upload to your Wordpress website<\/li>\n<li>Upload it to your <code>\/wp-content\/plugins\/<\/code> folder via FTP or use the built-in WordPress Plugin Installer<\/li>\n<li>Activate and use <code>[show_ip]<\/code> in a post, page, or widget.<\/li>\n<\/ul>\n\n<p>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 <strong>Plugins<\/strong> section in WordPress.<\/p>\n\n<p>Or<\/p>\n\n<ul>\n<li>Install directly from the Wordpress plugin area<\/li>\n<li>Activate<\/li>\n<\/ul>\n\n<p>You can find, download and install <a href=\"http:\/\/wordpress.org\/plugins\/show-ip-address\/\">Show IP address<\/a> directly from the <strong>Plugins<\/strong> section in WordPress.<\/p>\n\n<h4>Issues<\/h4>\n\n<p>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<\/p>\n\n<h4>Widgets<\/h4>\n\n<p>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].<\/p>\n\n<h4>Template Tags<\/h4>\n\n<p>[show_ip] \u2013 Use this tag on your pages to show your IP address.\n[show_ip_hostname] \u2013 Display IP hostname\n[show_ip_useragent] \u2013 Display browser user agent\n[show_ip_referrer] \u2013 Display referrer URL<\/p>\n\n<!--section=faq-->\n<dl>\n<dt id='faqs'><h3>FAQs<\/h3><\/dt>\n<dd><blockquote>\n  <p>Q). Will this work on any WordPress installation?<\/p>\n<\/blockquote>\n\n<p>&gt;<\/p>\n\n<blockquote>\n  <p>A). This depends on your server configuration and PHP version, but the plugin is tested with all standard WordPress environments.<\/p>\n<\/blockquote><\/dd>\n<dt id='issues'><h3>Issues<\/h3><\/dt>\n<dd><blockquote>\n  <p>Q). I have errors on my dashboard, it shows shell_exec() has been disabled for security reasons<\/p>\n<\/blockquote>\n\n<p>&gt;<\/p>\n\n<blockquote>\n  <p>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.<\/p>\n<\/blockquote><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial public release.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Added in a settings area and updated the admin display.<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Added in a server uptime section onto the dashboard widget.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Removed the server uptime section as it was causing issues on specific hosting platforms. Removed the image from the mian dashboard.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Updated content, source code and images.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Updated contact URL, and performance compatibility tested up to version 5.7.2.<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Code review and content amends, tested up to version 6.2.1<\/li>\n<\/ul>\n\n<h4>1.7<\/h4>\n\n<ul>\n<li>Improved shortcode logic to handle multiple IPs via <code>HTTP_X_FORWARDED_FOR<\/code><\/li>\n<li>Escaped IP and hostname output to prevent potential XSS vulnerabilities<\/li>\n<li>Fixed hardcoded version number in the dashboard widget<\/li>\n<li>Moved stylesheet to proper WordPress <code>wp_enqueue_scripts<\/code> action<\/li>\n<li>Corrected minor typos and wording in the admin settings page<\/li>\n<li>Tested and Confirmed compatibility with WordPress 6.8.2<\/li>\n<li>Added optional QR code for Buy Me a Coffee donations<\/li>\n<\/ul>\n\n<h4>1.8<\/h4>\n\n<ul>\n<li>Added new shortcodes: <code>[show_ip_hostname]<\/code>, <code>[show_ip_useragent]<\/code>, <code>[show_ip_referrer]<\/code><\/li>\n<li>Refactored structure to ensure zero external dependencies<\/li>\n<\/ul>","raw_excerpt":"A simple plugin to show your visitor\u2019s IP address on pages, posts, widgets, and the admin dashboard. Lightweight and easy to use.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/36967","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=36967"}],"author":[{"embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/keithgriffiths76"}],"wp:attachment":[{"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=36967"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=36967"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=36967"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=36967"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=36967"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/pcd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=36967"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}