2014-11-22 134 views
-2

我有一個名爲serp shaker的插件。在這個插件中,可以爲任何給定的內容創建簡碼。關於在Wordpress中使用短代碼


簡碼的名字是測試短
內容

This is a short code generated paragraph in p tag

現在,如果我把[SSAD ssadblk =「測試短」在後它獲得的p標籤的內容。

我想在內容區域使用短碼。

即 短代碼的名稱是測試短
含量[搖交]

[搖交]是一種短碼具有每定義的內容。
但wordpress不會將[shake-post]作爲短代碼。它將其作爲內容。

如何將[shake-post]用作短代碼?

回答

0

確保您使用the_content();do_shortcode(get_the_content());apply_filters('the_content', get_the_content());

get_the_content()不適用的簡