bbPress 2.0 版本已經支援簡碼呼叫形式。目前您可以在任何 WordPress 主題中進行呼叫,下面是 bbPress 官方提供的簡碼列表,薇曉朵進行了粗略翻譯,供中文使用者使用。
為了獲得所需的數字 ID 為 $ forum_id,$ topic_id,$ reply_id 和 $ tag_id 你可能需要透過後臺編輯帖子才能看到如:/wp-admin/post.php?post=47
論壇 Forums
[bbp-forum-index] -這將顯示你的整個論壇的索引
[bbp-forum-form] -顯示 「新論壇」 的形式
[bbp-single-forum id=$forum_id]– 顯示單一的論壇帖子。例如 [bbp-single-forum id=32]
主題 Topics
[bbp-topic-index]-顯示所有你的論壇最近的 15 條主題與分頁 (條目數量可以設定)
[bbp-topic-form] -顯示 「新話題」 的形式,你可以從下拉選單中選擇的論壇,這個話題要與相關聯
[bbp-topic-form forum_id=$forum_id] -為特定的論壇 ID 顯示 「新話題列表」
[bbp-single-topic id=$topic_id] -顯示一個單一帖子。例如 [bbp-single-topic id=4096]
回覆 Replies
[bbp-reply-form] -顯示 「新回覆」 的形式
[bbp-single-reply id=$reply_id] -顯示一個單一答覆。例如 [bbp-single-reply id=32768]
話題標籤 Topic Tags
[bbp-topic-tags] – 顯示標籤雲的所有話題標籤
[bbp-single-tag id=$tag_id] – 顯示與特定標記相關的所有主題的列表。例如 [bbp-single-tag id=64]
檢視 Views
[bbp-single-view]-單檢視-與特定檢視相關聯顯示主題。與 bbPress 的包括 「views」 的 「熱門主題」[bbp-single-view id=」popular」] 和 「無回覆」 [bbp-single-view id=」no-replies」]
搜尋 Search
[bbp-search] -顯示搜尋輸入表單
[bbp-search-form] -顯示搜尋表單模板
賬戶 Account
[bbp-login] -顯示登入介面
[bbp-register] -顯示註冊介面
[bbp-lost-pass] -顯示丟失密碼介面。
統計 Statistics
[bbp-stats] -顯示論壇的統計資料。
**其他簡碼尚未實施,會在未來的版本中增加。