[WordPress] 外掛分享: Master Currency WP

首頁外掛目錄 › Master Currency WP
WordPress 外掛 Master Currency WP 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
10+
安裝啟用
尚無評分
1837 天前
最後更新
問題解決
WordPress 3.0.1+ v1.1.61 上架:2016-03-05

內容簡介

Master Currency WP 讓建立貨幣換算表格、列表和單一換算都變得非常輕鬆,只需要用簡短代碼(shortcode)即可完成,無需任何程式設計技能。該插件的重點在於讓使用者能輕鬆地將任何貨幣換算加到自己的網頁中,而不需要編寫一行代碼,同時還提供了非常巧妙的 HTML 結構,使任何開發人員都能輕鬆地應用其版面配置。當然,該插件採用了面向對象的方法進行創建,因此相當容易擴展功能。如果您需要某些功能,請在支援論壇中告訴我們!

如果您喜歡這個插件,請考慮捐贈。

使用示例:

在文章/頁面中使用簡短代碼:

- [mcwp_updateddate]
- [mcwp_currencyconverterform amount_title=”Enter amount” from_title=”From currency” to_title=”To currency” result_title=”Conversion result” calculatebutton_title=”Calcutate now!” show_currencydescription=”no”]
- [mcwp_currencylist amount=”1″ currencies=”EUR-USD,USD-EUR”]

(請見上述簡短代碼的截圖結果)

其他使用示例:

換算表單:

- [mcwp_currencyconverterform html_id=”whatever” amount_title=”Amount” from_title=”From currency” to_title=”To currency” calculatebutton_title=”Calculate currency” result_title=”Result” currencies=”SEK,EUR,GBP,USD” default_fromcurrency=”EUR” default_tocurrency=”GBP” use_ajax=”yes”]
- [mcwp_currencyconverterform default_fromcurrency=”gbp” default_tocurrency=”sek” use_ajax=”yes”]
- [mcwp_currencyconverterform currencies=”SEK,EUR,GBP,USD” default_fromcurrency=”gbp” default_tocurrency=”sek” use_ajax=”yes” show_currencydescription=”only” result_decimals=”0″]
- [mcwp_currencyconverterform currencies=”SEK,EUR,GBP,USD” default_fromcurrency=”gbp” default_tocurrency=”sek” use_ajax=”yes” show_currencydescription=”only” result_decimals=”2″ result_sanitize=”no”]
- [mcwp_currencyconverterform currencies=”SEK,EUR,GBP,USD” default_fromcurrency=”SEK” default_tocurrency=”USD” use_ajax=”no” show_currencydescription=”no”]

貨幣列表:

- [mcwp_currencylist html_id=”givemeabreak” amount=”10″ currencies=”EUR-USD,USD-EUR,SEk-CAD” result_decimals=”2″ separator=”“]
- [mcwp_currencylist amount=”10″ currencies=”EUR-USD,USD-EUR,SEk-CAD” result_decimals=”2″ separator=”, “]
- [mcwp_currencylist amount=”10″ currencies=”EUR-USD,USD-EUR,SEk-CAD” result_decimals=”2″ separator=”” order_by=”first_currency”]
- [mcwp_currencylist amount=”10″ currencies=”EUR-USD,USD-EUR,SEk-CAD” result_decimals=”0″ separator=”” order_by=”second_currency”]
- [mcwp_currencylist amount=”10″ currencies=”EUR-USD,USD-EUR,SEk-CAD” result_decimals=”0″ separator=”” order_by=”result”]

單一換算:

- [mcwp_currencyconvert amount=”300″ from=”EUR” to=”USD”]

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Master Currency WP」→ 直接安裝(推薦)

原文外掛簡介

Master Currency WP makes it very easy to create currency converter forms, list and single conversions with shortcodes. No programming skills are required to create these forms, lists and single
conversions. Focus has been that the user easily could add just any conversion of currencie(s) to his/her page without entering a single line of code, but at the same time offer real
good flexibility with a very well thought html-structure so any developer could easily apply his/her layout. The plugin is of course created with an objectoriented approach
so it’s fairly easy to extend functionality. If you do miss some functionality, please tell in the support forum!
If you like the plugin, please consider donating.
Example of usage
shortcodes in post(s)/page(s)

[mcwp_updateddate]
[mcwp_currencyconverterform amount_title=”Enter amount” from_title=”From currency” to_title=”To currency” result_title=”Conversion result” calculatebutton_title=”Calcutate now!” show_currencydescription=”no”]
[mcwp_currencylist amount=”1″ currencies=”EUR-USD,USD-EUR”]
(See result in screenshot from above shortcodes)

Other examples of usage
Converter form(s)

[mcwp_currencyconverterform html_id=”whatever” amount_title=”Amount” from_title=”From currency” to_title=”To currency” calculatebutton_title=”Calculate currency” result_title=”Result” currencies=”SEK,EUR,GBP,USD” default_fromcurrency=”EUR” default_tocurrency=”GBP” use_ajax=”yes”]
[mcwp_currencyconverterform default_fromcurrency=”gbp” default_tocurrency=”sek” use_ajax=”yes”]
[mcwp_currencyconverterform currencies=”SEK,EUR,GBP,USD” default_fromcurrency=”gbp” default_tocurrency=”sek” use_ajax=”yes” show_currencydescription=”only” result_decimals=”0″]
[mcwp_currencyconverterform currencies=”SEK,EUR,GBP,USD” default_fromcurrency=”gbp” default_tocurrency=”sek” use_ajax=”yes” show_currencydescription=”only” result_decimals=”2″ result_sanitize=”no”]
[mcwp_currencyconverterform currencies=”SEK,EUR,GBP,USD” default_fromcurrency=”SEK” default_tocurrency=”USD” use_ajax=”no” show_currencydescription=”no”]

Currency list(s)

[mcwp_currencylist html_id=”givemeabreak” amount=”10″ currencies=”EUR-USD,USD-EUR,SEk-CAD” result_decimals=”2″ separator=”“]
[mcwp_currencylist amount=”10″ currencies=”EUR-USD,USD-EUR,SEk-CAD” result_decimals=”2″ separator=”, “]
[mcwp_currencylist amount=”10″ currencies=”EUR-USD,USD-EUR,SEk-CAD” result_decimals=”2″ separator=”” order_by=”first_currency”]
[mcwp_currencylist amount=”10″ currencies=”EUR-USD,USD-EUR,SEk-CAD” result_decimals=”0″ separator=”” order_by=”second_currency”]
[mcwp_currencylist amount=”10″ currencies=”EUR-USD,USD-EUR,SEk-CAD” result_decimals=”0″ separator=”” order_by=”result”]

Single conversion(s)

[mcwp_currencyconvert amount=”300″ from=”EUR” to=”GBP” display_amount=”yes” display_type=”1″]
[mcwp_currencyconvert html_id=”eurtogp” amount=”300″ from=”EUR” to=”GBP” display_amount=”yes” display_type=”2″]
[mcwp_currencyconvert amount=”300″ from=”EUR” to=”GBP” display_amount=”no” result_decimals=”0″]

You can find demos at: http://wibergsweb.se/plugins/mastercurrencywp
Example css

.mcwp-convert-ecb {display:block;}
.mcwp-convertequal {padding:0 4px;}
.mcwp-result .mcwp-title {font-weight:bold;}
.mcwp-result .mcwp-tocurrency {color:#5e92c4;font-weight:bold;}
.mcwp-selectamount input, .mcwp-selectfromto select {display:block;padding:7px;}
.mcwp-selectamount input {width:196px;}
.mcwp-selectfromto {padding:1em 0;color:#5e92c4;}
.mcwp-submit {padding:7px;width:212px;}
.mcwp-submit:hover {cursor:pointer;background:#eeeeee;}

延伸相關外掛

文章
Filter
Mastodon