Displays current country information, just for info
[...]
Displays currency rate of currency in attribute ‘code‘ related to the basic currency code.
Attributes:
- code – currency code of currency which rate should be displayed
Example:
[...]
MAIN shortcode for the site content which makes prices in it switch-able!
This shortcode allows you set switch-able value in any of you promotional text in the WordPress site. Value should be set in the default currency. Good for any advertising text in txt-banners and articles to show the price in by-user selected currency.
Example: , or
Has next attributes:
- value – price, amount or any by your logic. Decimal or integer.
- meta_value – price amount taken directly from a meta field, this field has more priority than attribute ‘value’ if they presented together in the shortcode. Decimal or integer. Example: . Use point for decimals, example: 100.55
- type – write there word ‘fixed’ to display fixed prices for each currency instead of recounting relatively of basic currency
- post_id – (from v.2.1.7/1.1.7) if it is necessary to show switchable post price somewhere, for example in a catalog. Works together [...]
Shortcode which allows you show your shop customers currency your Exchange Rates
Attributes:
- exclude – using comma write currencies codes which you want to exclude form converter. Example: GBP,AUD
- precision – decimals in result amount. Use any integer value, by default it is: 2
Example:
See this shortcode in action
[...]
Shortcode which allows your customers convert different amount from one currency to another by AJAX!
Attributes:
- exclude – using comma write currencies codes which you want to exclude form converter. Example: GBP,AUD
- precision – decimals in result amount. Use any integer value, by default it is: 2
Example:
See this shortcode in action
[...]
This is the main shortcode in the plugin which generates drop-down or flags on the front of the site which allow users to switch currencies.
Attributes:
- txt_type – 2 possible values: desc and code.
- desc – on the front will be shown currency description in the drop-down option
- code – will be shown currency code and its sign in the drop-down options
- flag_position – (ddslick only) flag position. You can set side: left or right.
- width – width in px or %. Set its value like ‘300px’ or ‘75%’
- show_flags – show or hide flags. Possible values: 1 or 0
If you want to set the switcher somewhere in the site code, for example in your wp theme header.php or footer.php use next code please:
<?php echo do_shortcode(''); ?>
[...]