该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

IP Address Shortcode

描述

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.

安装

  1. Upload the plugin folder to your /wp-content/plugins/ folder.
  2. 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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.0

  • Plugin released.