If you are working with bbPress or are thinking about using bbPress as your website’s support forum, I would highly recommend becoming familiar with the following shortcodes for displaying your forum content. We created this directory as a result of our own difficulties in trying to work with what bbPress documentation there is available. Unfortunately, it seems there is not a lot of effort being put into the current bbPress site. bbPress 2.0 has a lot of potential and we wanted to offer some guidance to get you started, because we love the WordPress community.
Note: These shortcodes are for bbPress 2.0.
Forum Shortcodes:
[bbp-forum-index]- Displays an index/archive of all forums. See Example[bbp-single-forum id=$forum_id]- Displays topics for a single forum. Replace $forum_id with the forum ID that you want to display. See Example
Topic Shortcodes:
[bbp-topic-index]- Displays an index/archive of all topics. See Example[bbp-topic-form]- Displays a Create New Topic form. See Example[bbp-single-topic id=$topic_id]- Displays posts for a single topic. Replace $topic_id with the post ID that you want to display. See Example
Topic Tags:
[bbp-topic-tags]- Displays a tag cloud of all topic tags. See Example[bbp-single-topic-tag]- Displays specific topics within a given single tag.
Topic Reply Form:
[bbp-reply-form]- Displays a topic reply form. Note: To work correctly this needs to displayed on a specific top id. See Example
Single Topic View:
[bbp-single-view]- Displays topics associated with a specific view.
Account:
[bbp-login]- Displays the login screen. Note: Only required if users have to register to access forums. See Example[bbp-register]- Displays site registration form. Note: Only needed if users have to register to access forums. Submit button needs to be added manually. See Example[bbp-lost-pass]- Displays fields to retrieve lost password. Note: Only required if user have to register to access forums. See Example
This directory is a collection gathered from the bbPress.org site. If you have any issues or errors when using them, be sure to take a look at bbPress Support Forum or let us know below.
Amazing! I am always searching for shortcodes for plugins like this. Thanks Brady
No problem. I felt the same.
I am trying to set my forum up so that instead of the reply form being on the same page as the topic it is on a separate page and there is just a “post reply” button on the topic page. I have been able to add the button and link it to a page that has only the reply form on it but when I try to submit a reply I get the following errors:
ERROR: Topic ID is missing.
ERROR: Forum ID is missing.
Is it possible to do what I am trying to do? If so how do I do it? Seems like I need to be able to tell the reply form page the Topic ID and Forum ID but I don’t know how to go about it. Can you help me? I have been searching all over but no luck. The bbpress site seems about useless, there isn’t hardly any documentation.
Any help you can give would be greatly appreciated.
Thanks!