如何将代码 [表 id=12 /] 像文本一样插入 WP 帖子



我正在写一篇关于WP插件TablePress的文章。该插件在我的WP网站上处于活动状态。如果你在帖子中输入一个代码 [table id=1/],插件会在前端显示表格。

如何将代码 [table id=12/] 作为文本插入我的帖子?

当我使用<code>&#91;table id=1 / &#93;</code>, WordPress changes automatically [ to [ and ] to ] 时,and the table is loaded on the front end. But I want to post the code, not the table. ' 也不起作用。

当我从可视化编辑器切换到HTML编辑器时,WordPress &#91;更改为[(。

我该如何解决?请帮忙。

后端截图

前端截图

你试过这些吗?

WordPress

我无法重现您的问题...使用 [ 和 ] 阻止我的短代码编译

最新更新