When the menu doesn't work for you and neither does the floating corner, you set the selector yourself:

[ctkcs_currency_switcher]

It works always, whatever you choose in “Where displayed”. You can have it on the menu and also one in the footer, or on an international shipping page. If you want it solo there, put "Only where I put the shortcode" and it is no longer drawn alone anywhere.

Where can it be put

  • In one page or entry, as a shortcode block.
  • In a widget of the foot or the side bar.
  • In Elementor, with the “Shortcode” widget.
  • In one theme template, with echo do_shortcode( '[ctkcs_currency_switcher]' );.

The only parameter: etiqueta

It serves to that selector reads differently from the rest, without touching the general setting:

[ctkcs_currency_switcher etiqueta="simbolo"]
Valor Se in
codigo_simbolo EUR €
codigo EUR
simbolo €
bandera 🇪🇺 EUR

Without the parameter, use whatever you have set in the settings.

What is it really for?

The typical case: in the header the site is short of space and you want simbolo, but at the foot, where there is plenty of room, you prefer codigo_simbolo, which is better understood. Two shortcodes, two tags, a single untouched general setting.

If nothing is seen

What's happening Because
Nothing comes out where you put it You only have one registered currency. With just one there is nothing to choose from and nothing is drawn.
The text is seen [ctkcs_currency_switcher] as is The plugin is disabled, or you wrote it in a place where shortcodes are not processed (a plain text field, a title, an email).
It comes out, but with a strange color on the menu Your theme passes the menu item the kit's link color, not the menu's. It has fix: write to us and we tell you how to set the good color.

A note for those coming from an older version

In the licensed version, the previous name [ctk_currency_switcher] keep responding, so that no one would have the shortcode printed as is on a page after changing the name. In the WordPress repository version only the new name exists, which is the one above. If you write one today, write [ctkcs_currency_switcher] and you won't have to think about this anymore.

Seguir leyendo

¿No lo resuelve este artículo?

Si eres cliente, escríbenos y te contestamos nosotros. Si usas la versión gratuita de wordpress.org, el foro oficial del plugin es el sitio: ahí quedan las respuestas para todo el mundo.

EscribirnosForo de wordpress.org