跳到内容 跳到侧边栏

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

最后由 eamonnT 7 months前 更新。

协助者:: Shekhar Bhandari.

作者 帖子
2025 年 9 月 19 日 于 上午 4:29 #17415201

eamonnT

Background of the issue:
I am working on a site under development and I want to stop the h1 tag from being translated. I am considering using the following code: <!-- wpml:ignore --> <h1>Your Heading Here</h1> <!-- /wpml:ignore -->.

Symptoms:
I am unsure if the code I am considering will prevent the h1 tag from being translated.

Questions:
Can I use <!-- wpml:ignore --> <h1>Your Heading Here</h1> <!-- /wpml:ignore --> to stop the h1 tag from being translated?
Is there another way to prevent the h1 tag from being translated?