fbpx

Description

[wcj_currency_select_radio_list] shortcode displays currency selection as radio buttons. Shortcode has no required attributes, optional attributes are listed below.

Args


before
(optional) Text to place before the content. If content is empty this argument is ignored.
Default: None

after
(optional) Text to place after the content. If content is empty this argument is ignored.
Default: None

visibility
(optional) User visibility. Possible values are WordPress user roles (including custom), e.g. administrator, shop_manager, customer, guest etc.
Default: all

location
(optional) Make shortcode results visible only to customers from specific country (by user IP). Value is two letter country code.
Default: all

site_visibility
(optional) Restrict shortcode output to some pages only. Possible values: single, page, archive.
Default: None

wpml_language
(optional) Restrict shortcode output to certain WPML language only. Possible values are two letter language codes. Can be comma separated list.
Default: None

not_wpml_language
(optional) Restrict shortcode output to exclude certain WPML languages. Possible values are two letter language codes. Can be comma separated list.
Default: None

Examples

[wcj_currency_select_radio_list]

Booster for Woocommerce Shortcode <form action="" method="post"><input type="hidden" id="wcj-currency-nonce" name="wcj-currency-nonce" value="af4589d99d" /><input type="hidden" name="_wp_http_referer" value="/shortcodes/wcj_currency_select_radio_list/" /></form> Frontend

Accessible through:
  • [wcj_currency_select_radio_list]
Tested on WooCommerce 9.3.2 and WordPress 6.6.2