The single currency conversion is returned to your page via the shortcode of [exchange to="usd" value="1"]%%exchange%%[/exchange]
, in this case returning $0.67. To return another currency you should simply alter the value. For example, [exchange to="usd" value="5"]US%%exchange%%[/exchange]
returns US$3.35.
You'll note that we use the %%exchange%%
placeholder. This is used primarily to support currency tooltips. For example, [exchange to="usd" value="100" modal="This is modal text, AU$100 will buy you %%currency%% USD"]US%%exchange%%[/exchange]
will return US$66.92 (note the tooltip when you hover over the value). In using placeholders you simply have more control over how the tooltip text is returned.
Shortcode Attributes
from
aud
. Available currency: aud, usd, twi, cny, jpy, eur, krw, gbp, sgd, inr, thb, nzd, twd, myr, idr, vnd, aed, pgk, hkd, cad, zar, sar, chf, sek, php, sdr, dem, frf, esp, itl, nlg, bef, ats, fim, pte, iep, grd.to
usd
. Available currency: aud, usd, twi, cny, jpy, eur, krw, gbp, sgd, inr, thb, nzd, twd, myr, idr, vnd, aed, pgk, hkd, cad, zar, sar, chf, sek, php, sdr, dem, frf, esp, itl, nlg, bef, ats, fim, pte, iep, grd.value
value="5.75"
).rate
decimals
background
background="#6CAE6A"
or background="rgb(108, 174, 106, 0.8)"
.color
background="#ffffff"
or background="rgb(255, 255, 255)"
.modal
%%exchange%%
placeholder. Example: modal="The value of X USD is %%exchange%%"
.■ ■ ■
Related Currency FAQs
Related Currency FAQs.
The single currency conversion is returned to your page via the shortcode of [exchange to="usd" value="1"]%%exchange%%[/exchange]
, in this case returning $0.67. To return another currency you should simply alter the value. For example, [exchange to="usd" value="5"]US%%exchange%%[/exchange]
returns US$3.35. You'll note that we use the %%exchange%% placeholder. This is used primarily to… [ Learn More ]
The exchange rate graph return major currencies compared against the Australian dollar. It's not a particularly pretty chart but the colour values may be altered by way of shortcode (we've used very different bold colours to clearly differentiate one currency from another). Inclusion is made with the shortcode of [bm_exchange]
. The result: