如何在WP文章中插入代码[table id = 12 /]

时间:2017-02-10 05:52:45

标签: html wordpress

我正在写一篇关于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.`也不起作用。

当我从Visual Editor切换到HTML编辑器时,

Wordpress将&#91;更改为[(。

我该如何解决?请帮忙。

Back End Screenshot

Front End Screenshot

1 个答案:

答案 0 :(得分:0)

你尝试过这些吗?

wordpress

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