2017-02-10 37 views
0

我正在寫一篇關於WP插件TablePress的文章。該插件在我的WP網站上處於活動狀態。如果您將一個代碼[table id = 1 /]放入帖子中,該插件會在前端顯示該表格。如何在文章中插入代碼[table id = 12 /]到WP文章中

如何在文章中插入代碼[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.`也不管用。

WordPress的改變&#91;[,當我從Visual編輯器HTML編輯器(切換。

如何解決呢?請幫助。

Back End Screenshot

Front End Screenshot

+0

兩個管理面板和前端的份額截圖 –

+0

就緒,請看看我停止重現的簡您的問題...。前端應該沒有表格,只是表格的一個代碼。 – Max

回答

0

你有沒有嘗試其中的任何一種?

wordpress

我無法通過[和]從編譯

+0

謝謝。你有沒有安裝TablePress? WordPress自動將'['更改爲'['。這就是編碼shortcode的原因(((... – Max