Show IP address

설명

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]

스크린샷

  • Display short code
  • Dashboard
  • Short code in a widget

설치

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

FAQs

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.

Issues

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.

후기

2018년 7월 14일
Even though this plugin is not updated for several years it works just perfect. We use it on our support pages so clients can see their own IP address when we need it.
2016년 9월 3일 답글 5개
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.
2016년 9월 3일
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.
2016년 9월 3일 답글 2개
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.
모든 5 평가 읽기

기여자 & 개발자

“Show IP address”(은)는 오픈 소스 소프트웨어입니다. 다음의 사람들이 이 플러그인에 기여하였습니다.

기여자

자국어로 “Show IP address”(을)를 번역하세요.

개발에 관심이 있으십니까?

코드 탐색하기는, SVN 저장소를 확인하시거나, 개발 기록RSS로 구독하세요.

변경이력

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_scripts action
  • 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