gorM
|
Tell us what you are trying to do?
I'm trying to add short code for the language switching. If I'm using the Armenian language need a second language name and and vice versa․
Is there any documentation that you are following?
https://wpml.org/documentation/support/wpml-coding-api/shortcodes/
Is there a similar example that we can see?
[wpml_language_switcher type="custom" flags=0 native=0 translated=1][/wpml_language_switcher]
What is the link to your site?
hidden link
|
Mihai Apetrei
Supporter
Languages:
English (English )
Timezone:
Europe/Bucharest (GMT+02:00)
|
Hi there.
Please take a look here:
https://wpml.org/documentation/getting-started-guide/language-setup/language-switcher-options/adding-language-switchers-using-php-and-shortcodes/
You should be able to do exactly what you wanted but by using a different shortcode.
Kind regards,
Mihai Apetrei
|