Linux 软件免费装
Banner图

IP Address Shortcode

开发者 WCDev
更新时间 2024年3月19日 22:29
PHP版本: 5.5 及以上
WordPress版本: 6.4.3
版权: GPLv2 or later
版权网址: 版权信息

标签

ip address show ip address

下载

1.0 1.1 1.2 1.3

详情介绍:

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.

更新日志:

1.0