[WordPress] 外掛分享: WP Country

前言介紹

  • 這款 WordPress 外掛「WP Country」是 2013-12-27 上架。
  • 目前有 100 個安裝啟用數。
  • 上一次更新是 2016-04-16,距離現在已有 3306 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
  • 外掛最低要求 WordPress 3.6 以上版本才可以安裝。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

andreyk |

外掛標籤

select | country | dropdown | countries list |

內容簡介

使用 WP Country 外掛程式在你的佈景主題或插件中,請在你的佈景主題或插件 PHP 檔中添加 global $wp_country;,
然後:

$wp_country->countries_list() 是一個包含國家名稱的陣列

$wp_country->dropdown() 列印或回傳國家作為下拉式選單的 HTML 標籤。

$wp_country->name($alpha2) 透過 2 個字元的代碼回傳國家名稱。

現在提供俄文翻譯版本。

原文外掛簡介

To use the WP Country plugin in your theme or plugin add global $wp_country; into your theme or plugin PHP file,
then:

$wp_country->countries_list() is an array of country names

$wp_country->dropdown() prints or returns countries as dropdown HTML tag.

$wp_country->name($alpha2) returns the name of a country by it’s 2-character code.

Russian translation is available now.

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Country」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


0.1 |

延伸相關外掛(你可能也想知道)

暫無相關外掛推薦。

文章
Filter
Apply Filters
Mastodon