IP Address Shortcode

Description

Add the shortcode “[wc-ip]” anywhere you would like to show visitor’s IP address. This shortcode will either show IPv4 or IPv6 depending on the connecting user.

Installation

  1. Upload the plugin folder to your /wp-content/plugins/ folder.
  2. Go to the Plugins page and activate the plugin.

FAQ-e

How do I use this plugin?

Add “[wc-ip]” shortcode where you want to show the IP address.

Can it show both IPv4 and IPv6

No. It will show only one of those. If your website has IPv6 enabled (AAAA record), and the connecting user has IPv6, it will show their IPv6 only.

How to show only IPv4?

NOT RECOMMENDED – To do that, you will have to remove your AAAA records from DNS and disable IPv6 from Cloudflare (or other CDN). However, this will make your website unreachable for users who only have IPv6 and not IPv4.

How to uninstall the plugin?

Simply deactivate and delete the plugin.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“IP Address Shortcode” is open source software. The following people have contributed to this plugin.

Contributors

Translate “IP Address Shortcode” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.0

  • Plugin released.