On this page
[LS_LANGUAGE_TITLE]
Use this shortcode to output current language title on the page or display language title by the passed code.
Input
Returned current language title: [LS_LANGUAGE_TITLE]
Returned language title by code: [LS_LANGUAGE_TITLE fr]
Nothing to return by invalid code: [LS_LANGUAGE_TITLE invalid]
Output
Returned current language title: English
Returned language title by code: French
Nothing to return by invalid code:
[LS_CURRENCY_TITLE]
Use this shortcode to output current currency title on the page or display currency title by the passed code.
Input
Returned current currency title: [LS_CURRENCY_TITLE]
Returned currency title by code: [LS_CURRENCY_TITLE eur]
Nothing to return by invalid code: [LS_CURRENCY_TITLE invalid]
Output
Returned current currency title: US Dollar
Returned currency title by code: Euro
Nothing to return by invalid code:
[LS_LANGUAGE_HREF]
Use this shortcode in link href attribute to make language switch possible.
Input
<a href="[LS_LANGUAGE_HREF fr]">
[LS_LANGUAGE_TITLE fr]
</a>
Output
<a href="javascript:LangShopSDK.switchLanguage('fr');">
French
</a>
[LS_CURRENCY_HREF]
Use this shortcode in link href attribute to make currency switch possible.
Input
<a href="[LS_CURRENCY_HREF eur]">
[LS_CURRENCY_TITLE eur]
</a>
Output
<a href="javascript:LangShopSDK.switchCurrency('eur');">
Euro
</a>
[LS_LANGUAGES_SWITCHER]
Shortcode helps you to display any languages switchers. Usage requires a switcher's ID to be inserted. Block of code with ID can be found at the bottom of the switcher configuration section in the LangShop application.
[LS_LANGUAGES_SWITCHER 123456789]
[LS_CURRENCIES_SWITCHER]
Shortcode helps you to display any currencies switcher. Usage requires ID of the switcher to be inserted. Block of code with ID can be found at the bottom of the switcher configuration section in the LangShop application.
[LS_CURRENCIES_SWITCHER 123456789]