Passer au contenu Passer à la barre latérale

Marqué : 

Ce sujet contient 0 réponse, a 1 voix.

Dernière mise à jour par marcoM-136 Il y a 1 année et 9 mois.

Assisté par: Noman.

Auteur Messages
décembre 6, 2023 à 11:13 am #15006929

marcoM-136

'm referring to this guide:

https://wpml.org/documentation/support/enabling-text-translation-for-themes-not-compatible-with-wpml/

And it works correctly. I find it difficult when I have to act on a call to a shortcode. I'll explain:

In my code I have this string:

echo do_shortcode('[wd_asp id=1]');

I need to change the shortcode call based on the language (change the ID)

How should the command be written to find it in the "string locator"?

Thank you.