[WordPress] 外掛分享: My Geo Posts Free

首頁外掛目錄 › My Geo Posts Free
WordPress 外掛 My Geo Posts Free 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
20+
安裝啟用
★★★☆☆
3.7/5 分(6 則評價)
4205 天前
最後更新
問題解決
WordPress 3.0+ v1.2 上架:2013-04-18

內容簡介

我的 Geo Posts Free 外掛使用 IpInfoDb 和/或 geoPlugin 的服務,取得訪問者 IP 位置資料,並將該資料以 cookie 的形式保存在訪問者的瀏覽器中,以減少 API 調用次數。

如何使用 My GEO Post 免費版本外掛?

在 WordPress 中,您可以在幾乎任何地方(例如:文章/頁面/小工具的標題或內容)使用以下簡碼。只需在標題或內容中複製貼上以下簡碼。

[mygeo_city] // 顯示城市名稱
[mygeo_country_code] // 顯示國家代碼
[mygeo_country_name] // 顯示國家名稱
[mygeo_region] // 顯示州/地區名稱
[mygeo_latitude] // 顯示訪問者位置的緯度
[mygeo_longitude] // 顯示訪問者位置的經度
[mygeo_postal_code] // 顯示郵政編碼(如果有可用)

當地理資料不可用時,您也可以添加預設值,例如:

[mygeo_city default='Your City']

要直接在模板檔案中使用 PHP 代碼顯示資料,您可以使用以下 PHP 代碼(取代 SHORTCODE 為上述任何代碼)。

<?php echo do_shortcode('SHORTCODE'); ?>

聘請外掛作者為您 WordPress 開發。

請造訪官方網站 Mindstien Technologies,以取得此外掛的相關資訊。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「My Geo Posts Free」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

My Geo Posts Free plugin uses IpInfoDb and/or geoPlugin’s service to get geolocation data of visitor’s ip address. It save location data in visitors browser cookies to save number of api calls.
How to use My GEO Post Free Plugin ?
Use following shortcodes almost anywhere in WordPress, ie. Title/Content of WordPress post/page/widget etc.. Within a title or within a content itself, just copy paste following shortcodes.

[mygeo_city] // to display City name
[mygeo_country_code] // to display Country Code
[mygeo_country_name] // to display Country Name
[mygeo_region] // to display state / region name
[mygeo_latitude] // to display latitude of the visitors location
[mygeo_longitude] // to display longitude of the visitors location
[mygeo_postal_code] // to display postal code if available

You can also add default value when geo data is not available i.e.

[mygeo_city default='Your City']

To directly display data using PHP code in template files itself, you can use following php code by replacing SHORTCODE with any of the above code.

Hire plugin author for your WordPress Development.
Visit official website for this plugin at Mindstien Technologies.

文章
Filter
Apply Filters
Mastodon