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〉的開發相關工作。參與者
將〈IP Address Shortcode〉外掛本地化為台灣繁體中文版
- Plugin released.