Browse documentation

Docs / Price shortcode

On this page

Price shortcode

The [autocurr] shortcode is available in Free and Pro. Use it wherever your WordPress content supports shortcodes.

Required attributes

[autocurr amount="26" currency="EUR"]
Attribute Input
amount A finite number, such as 26, 26.50, 0 or -5. Use a decimal point and no thousands separators.
currency A supported three-letter currency code, such as EUR, USD or VND. Lowercase codes are accepted.

The currency identifies the original price, not the visitor’s target currency. Unsupported currency codes and missing or invalid amounts produce a validation message rather than a fabricated price.

Optional attributes

Free accepts class for theme styling; it does not provide styling for your custom class:

[autocurr amount="26" currency="EUR" class="ticket-price"]

Active Pro also accepts the display overrides documented in Display and formatting:

[autocurr amount="26" currency="EUR" show_base="false" round="2"]

Output

Free shows the original first and a successful conversion in parentheses, using currency codes. For example, EUR 26 (USD 30) is an illustrative layout, not a quoted rate.

Matching currencies display once. Missing JavaScript, an unresolved target currency or an unavailable rate leaves the source price visible—even when Pro’s setting normally hides the original.

Existing [tsmoney] content retains legacy support. Use [autocurr] for new content; legacy display attributes should not be assumed to work identically.