[WordPress] 外掛分享: whats-my-ip

首頁外掛目錄 › whats-my-ip
10+
安裝啟用
★★☆☆☆
2.3/5 分(3 則評價)
4242 天前
最後更新
問題解決
WordPress 3.5.0+ v0.5.2 上架:2014-04-30

內容簡介

這個外掛為 WordPress 新增了一個 [whatsmyip] shortcode,可以將目前使用者的 IP 位址嵌入文章中。這個 shortcode 支援三個參數,分別為 ip、country 和 coords。每個參數都能使用布林值如 1、yes、no、true 等來控制要顯示的欄位。
例如:想要顯示 ip 和 country 資訊,可以使用以下 shortcode:
[whatsmyip ip='yes' country='yes']

其中,ip 參數預設為 true,其他則預設為 false。
此外,此外掛還提供一個小工具,可用於在側邊欄中顯示。在小工具自訂畫面中,可以使用核取方塊來變更要顯示哪些欄位。

外掛標籤

開發者團隊

⬇ 下載最新版 (v0.5.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「whats-my-ip」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin adds an [whatsmyip] shortcode tag to WordPress. You can use it
to embed the current User’s IP address inline in a Post.
The shortcode takes 3 attributes, ip, country and coords. Each of
these can take boolean values like 1, yes, no, true. Truthy values
enable the display of the corresponding field.
For Eg:- To display ip and country details use,
[whatsmyip ip='yes' country='yes']

The ip attributes defaults to true if absent. Rest of the attributes
are false by default.
A Widget is also provided for use inside sidebars. Use the checkboxes in
the Widget customization screen to change the displayed fields.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon