跳到内容 跳到侧边栏

標籤: 

本主题包含 0 則回覆 ,有 1 嗓音 。

最后由 marcoM-136 1 years, 9 months前 更新。

协助者:: Noman.

作者 帖子
6 12 月, 2023 于 11:13 上午 #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.