這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Geoplugin Currency Shortcode

外掛說明

Usage:
[currency]800[/currency]
[currency base=”USD”]2000[/currency]

Only base=”XXX” is supported, where XXX is the three-letter currency code (GBP, USD, EUR etc.)
This plugin has GBP as the default base currency. If you want a different default base currency or output format, fork the plugin.

The ~ character is included in the output to indicate that it is only an approximate conversion, as the geoplugin.net rates will be different to the rates you might actually use.

螢幕擷圖

  • Showing the output before and after the plugin is activated.

安裝方式

  1. Unzip and upload geoplugin-currency-shortcode folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常見問題集

Can I change the base currency or output format?

Yes, amend the plugin code. For such a simple plugin, it’s unlikely I’ll be adding a settings page.

使用者評論

2016 年 12 月 27 日 1 則留言
Very useful little plugin, I use it to display hotel prices in the currency of the country where the hotel is in - and in the country where the visitor is at. Great to give my site's visitors the complete price picture. Only thing is setting the base currency like this doesn't work: [currency base=”PHP”]2000[/currency] I had to change it in the code, easy enough, but I just hope this plugin will keep on being updated when needed so it will keep working. Anyway, thanks for sharing it with the world, appreciate it.
閱讀全部 3 則使用者評論

參與者及開發者

以下人員參與了開源軟體〈Geoplugin Currency Shortcode〉的開發相關工作。

參與者

將〈Geoplugin Currency Shortcode〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.0.1

  • Code rewrite for best practices.

1.0.0

  • First public version.