このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの 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

FAQ

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 reply
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.