Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:

How to display language switcher via shortcode?

Solution:

[currency_switcher format="%code%"]

Relevant Documentation:

https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/#adding-a-currency-switcher-to-the-front-end

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

This topic contains 2 replies, has 2 voices.

Last updated by mohamedl 1 year, 8 months ago.

Assigned support staff: Dennis.

Author Posts
December 10, 2018 at 8:53 am #2983040

mohamedl

Tell us what you are trying to do? display shortcode with currency code only

Is there any documentation that you are following? didn't see any

Is there a similar example that we can see? Woodmart demo site

What is the link to your site? already in the form

December 11, 2018 at 6:49 am #2987292

Dennis

Hi,

Thank you for contacting WPML Support.

You can use the shortcode below:

[currency_switcher format="%code%"]

To learn more about Adding a currency switcher to the front-end please check the link below:

https://wpml.org/documentation/related-projects/woocommerce-multilingual/multi-currency-support-woocommerce/#adding-a-currency-switcher-to-the-front-end

Hope this helps.

Regards,
Dennis

December 15, 2018 at 9:45 am #3004278

mohamedl

My issue is resolved now. Thank you!