
內容簡介
顯示訪客 IP 位址
此外掛讓你可以透過簡碼或小工具在文章、頁面或範本檔案中顯示訪客的 IP 位址。
支援搜尋引擎優化,程式碼輕量
此外掛程式碼輕量,載入速度極快,支援搜尋引擎優化,完全相容於 WordPress 3.1 (2011) 至 WordPress 5+ (2019),以及 PHP 5.6 至 PHP 7.3。
功能:
顯示訪客 IP 位址
使用方便
程式碼輕量,載入速度快且能維持良好頁面速度分數
此外掛不會在訪客端設置 cookies
相容於所有螢幕解析度:桌面端、平板及智慧型手機
使用方式:
此外掛提供 2 種使用方式,讓你有最大彈性。
選項一:使用簡碼
若要在特定文章或頁面中顯示此輸出,請使用以下程式碼:
[Show_IP title="custom-title"]
或
[Show_IP]
若要在 WordPress 的範本中顯示此輸出,請使用以下程式碼:
<?php echo do_shortcode( '[Show_IP title="custom-title"]' ); ?>
選項二:使用小工具
前往「外觀 > 小工具」,加入「Show_IP」小工具即可。
外掛標籤
開發者團隊
② 後台搜尋「Show Visitor IP Address – Widget and Shortcode」→ 直接安裝(推薦)
原文外掛簡介
SHOW VISITOR IP ADDRESS
This plugin lets you show the IP address of your visitor using a shortcode or a widget inside posts, pages, or template files.
SEO-friendly and lightweight code
This plugin contains lightweight code to be very fast to load, SEO-friendly, and it is developed to have full compatibility with WordPress 3.1 (2011) up to WordPress 5+ (2019), from PHP 5.6 up to PHP 7.3.
FEATURES:
Show the IP address of your visitor
Easy to use
Lightweight code to quickly load the page and keep a good pagespeed score
No cookies are set by this plugin to visitors
Compatible with all resolutions: desktop, tablet, and smartphones
HOW TO USE:
You have 2 easy options to have maximum flexibility.
OPTION 1: Use a shortcode
In order to display the output in your specific posts or pages use this code:
[Show_IP title="custom-title"]
or
[Show_IP]
In order to display the output in your WordPress template use this code:
OPTION 2: Use a widget
Go to Appearance > Widgets and add Show_IP widget where you want to show it.
