Ir al contenido Ir a la barra lateral

Etiquetado: 

Este tema contiene 0 respuesta, tiene 1 voz.

Última actualización por marcoM-136 hace 1 año, 7 meses.

Asistido por: Noman.

Autor Publicaciones
diciembre 6, 2023 a las 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.