bbPress creates three new menu items in the WordPress backend to manage your three custom post types.These are:
- Forums – Contains all the topics and replies that were created in the forum.
- Topics – Topics are created within forums, they are the subjects that are being discussed.
- Replies – Replies are the actual discussion taking place. They are created within topics and if threaded replies is enabled can be a reply to other users replies.
This guide will help you create each post type, structure categories for your forums, and explain any other attributes to customize each post type.
Creating a Forum
To create a Forum follow these steps:
- Navigate to Forums > New Forum.
- Give your forum a name.
- Optional: You can add text to the description area to describe your particular forum.
- Adjust any additional forum attributes.
Types: choose whether you are creating a forum or category.
Forum – Can contain topics and be the parent of other forums.
Category – Can only contain forums (no topics). Use for organizing your forums.
You may, for example, have a Category “Open Source Software” with the Forums “bbPress” and “WordPress”.
Status: choose whether the forum is open or closed.
Open – Forum users can create new topics in the forum.
Closed – Closing a forum disallows any new topics to be created and also disallows any new replies to any existing topic in a forum. If it is a category or a parent forum of other forums, closing the category or parent forum will close all their child forums.
Visibility: Decide whether your forum is public, private or hidden.
Public – Anyone can see these forums
Private – Only logged in registered users can see these forums
Hidden – Only Moderators/Admins can see these forums
Parent: Forums can have a hierarchical structure. If your forum is a sub-forum of another Forum or is the child of a category, add the parent here.
Order: This determines the order in which the forums appear. Adjust each forum with sequential numbers to reorder your forums.
When you are happy, click Publish.
By default, your forum will be located at http://yourdomain.com/forums/forum/yourforumname
To adjust the default slugs, visit Forums > Settings
Creating a Topic
With your forum created you can start adding topics. You can add a topic from the frontend or from the WordPress backend.
Adding a Topic from the Front End
Navigate to your Forum on the frontend. If you’ve just set up your forum it will have no topics yet.
Give your topic a name and add some content to it.
You can add tags for organizing your topics, and you can make the post sticky or super sticky.
Sticky – Posts will stick to top of the Forum which it is in.
Super Sticky – Posts will stick to the top of all Forums.
You can also select to subscribe to replies via email.
Once you post the Topic it will appear on your Forum.
Adding a Topic from the WordPress Backend
To add a Topic from the WordPress backend,
- Navigate to Topics > New Topic.
- Give your topic a title and some content.
- Adjust any additional topic attributes.
Type: Indicates the topic type to be either sticky or normal.
Normal – This will be the default type of the topic, this will not stick the topic anywhere.
Sticky – Sticks topics to the top of the single forum that they are in.
Super Sticky – Sticks topics to the top of all forums on your site.
Status: Indicates the topic status.
Open – A normal topic without any restrictions. This topic can be replied to by all forum users on your site.
Closed – Restricted from any further replies from Participants. Moderators and Keymasters are able to still reply to these closed topics though.
Spam – Marks the topic as spam. The topic will now show up in your spam queue.
Trashed – Places the topic in the trash, from which you can delete it permanently.
Pending – A topic awaiting approval to be published.
Forum: Choose the Forum you want to add your topic to.
You are also presented areas to input topic tags, password protect topics, set a topic to private for only Admins/Keymasters.
When you have finished creating your topic click Publish.
Creating a Reply
As with topics, replies can be added from either the frontend of your website or from the WordPress Backend.
Adding a Reply from the Frontend
To reply from the frontend, navigate to your forum and click on the topic you wish to reply to.
Add your reply. You can also choose to be notified of follow-up replies via email.
When the reply is added, you’ll see that it’s been added to the WordPress Backend at Replies > All Replies
Adding a Reply from the WordPress Backend
To add a reply from the WordPress Backend,
- Navigate to Replies > New Reply.
- Give your topic a title and some content.
- Adjust any additional reply attributes.
Forum: Choose the forum for the reply to be in.
Topic: Input the ID of the topic you want the reply to be in.
Reply To: This is useful if you have threaded replies enabled. You input the ID of the reply that you want to thread under.
Your reply will now appear on the frontend of your site.
You’ve now got everything you need to get started with creating Forums with bbPress!