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

Tipo de Cambio Costa Rica

外掛說明

This plugin gets the current exchange rate from Costa Rica’s Central Bank (BCCR). It allows you to insert it into any template
or with tags on any post or page. It is also possible to convert an amount of colones to dollars and vice versa through
functions in the template or also with tags in the posts.

This plugin relies on a 3rd party as a service. It uses BCCR’s web service to get the exchanges rates. Service description can
be found here

安裝方式

To install the plugin you must do the following:

  1. Upload the plugin files to the /wp-content/plugins/wp-tipo-cambio-cr directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress

To use the plugin on a template file

To get the exchange rate:

<?php echo wptcr_tipo_cambio('COMPRA'); ?>
<?php echo wptcr_tipo_cambio('VENTA'); ?>

To convert a value:

<?php echo wptcr_convertir_colones_dolares(25000); ?>
<?php echo wptcr_convertir_dolares_colones(100); ?>

To use the plugin in a post or page

Sell Exchange Rate: [WPTCR_TIPO_CAMBIO_COMPRA]

Buy Exchange Rate: [WPTCR_TIPO_CAMBIO_VENTA]

Colones to Dollars: [WPTCR_CONVERTIR_COLONES_DOLARES monto=20000]

Dollars to Colones: [WPTCR_CONVERTIR_DOLARES_COLONES monto=200]

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Tipo de Cambio Costa Rica〉的開發相關工作。

參與者

將〈Tipo de Cambio Costa Rica〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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