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.
- Upload the plugin folder to your /wp-content/plugins/ folder.
- Go to the Plugins page and activate the plugin.
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.
IP Address Shortcode はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。貢献者
- Plugin released.