As the comments on WPBeginner grew, we tried different solutions, like Livefyre to improve discussions on our site. Many WordPress users want to make comments on their website more social. This is why people try Facebook comments, Disqus comments and now even Google+ comments. Recently we came across a plugin that allows you to add forums to replace comments in WordPress. We liked the idea and decided to test it out. In this article, we will show you how to add bbPress forum to WordPress posts as comments.
Why use bbPress for Comments in WordPress
Forums are a great way to build online communities. For many WordPress websites, the community building features of an online forum can not be replaced by WordPress commenting system. Similarly, a forum software can not be a replacement for WordPress. However, combining them both may result in a killer combination of lively discussions, community building, increased user engagement and more user loyalty for your website.
Users can participate in forum by leaving replies to your posts or by creating topics in other discussion areas. Conversations originating from your articles can ignite multiple topics on your forum. Most importantly, when people participate in an online forum they are more likely to share it among their social circles.
We understand that not every WordPress website has the audience or desire to build communities. There is so much content on the web that does not get any comments at all despite receiving significant traffic. However, if you are running a website that generates lots of comments, discussions, debates and heated arguments among your passionate readers, then you can benefit from the interactive features of an online forum embedded right into your articles.
How to add bbPress Topics to WordPress Posts
First thing you need to do is to add bbPress forums in WordPress. We have a step by step guide to setting up a forum in WordPress with bbPress. Once you have installed and set up bbPress forum. Make sure you have created at least one forum. You can give this forum any name, for example: Website Discussions, Posts Discussions or anything you want.
The next thing you need to do is install and activate bbPress Topics for Posts plugin. After activating the plugin go to Settings » Discussion and scroll down to bbPress Topics for Posts Defaults section.
The first option in setting up bbPress topics for posts is to choose a forum where topics for your WordPress posts will be created. You can choose a forum that you created earlier, or you can choose different forum for each post manually when writing your article. If you choose a default forum, you can apply these settings to all your existing posts by clicking on Apply settings to existing posts button. This will create topics for all your existing posts in the forum you have selected.
You can choose whether to copy your post tags for forum topics and choose how many replies to show below each post. If you want you can show the entire topic below the post or even display the link to the forum topic so that users can discuss the post in your forum. We would recommend displaying a reasonable number of replies like 10 for each post.
Now if you chose a default forum to create topics for posts, the plugin will automatically create a topic for a post you publish. It will also display latest replies to that topic with a topic reply form at the bottom of your posts.
If you did not choose a default forum on the discussion settings page, then you can still create a topic for each post manually from the post edit area. On the post edit screen click on Screen Options fly-down menu at the top right corner and check the discussion box. Scroll down to the bottom of the post edit area, and you will see discussion box that allows you to enable or disable comments and trackbacks for individual posts. There will be a new option to create a forum topic for this post.
If you are using bbPress forums as a replacement for comments, then you might want to turn off comments on your site. To do that go to Settings » Discussion and uncheck the box that says Allow people to post comments on new articles. This will disable comment form to appear on any new articles you add. However, people can still post comments to older articles. To turn off comments on all articles you can run this SQL query using phpMyAdmin.
Note: You must always backup your database before making any direct changes to it.
UPDATE 'wp_posts' SET comment_status = 'closed' ;
This query updates posts table in your database and sets comments to be closed on all posts. Please note that if you are not using the default wp_
prefix for your database, then your posts table may have a different prefix so you would need to change posts table name.
What do you think about the idea of using bbPress forums to replace WordPress comments? For questions and feedback you can reach us on Twitter or leave a comment below.
A. W. Raihan
I think the idea of using bbPress forums to replace WordPress comments is more likely for a forum website where they can increase the number of the post’s reaches and engagements. For the forum it’s the best free plugin but let me know how about the simplepress? I didn’t explore that yet.
Ahmed El Kordy
this is an excellent article, and wpbeginner is the way to go keep it up, folks.
I followed your instruction and it’s working fine with WordPress default post type but not with the custom post type any suggestion would be greatly appreciated.
Thank you in advance and looking forward to hearing from you cheers
WPBeginner Support
The option to add it to custom post types should be under Settings>Discussion if you do not see your custom post type there, we would recommend reaching out to the plugin’s support and they should be able to assist!
Admin
Ahmed El Kordy
you are a lifesaver, thank you.
and just in case anyone had the same issue when you create a custom post type you will get an option in Settings>Discussion with the name of the custom post type you created and all you have to do is to enable it as easily as that, all credit goes to wp-beginners support
Jennifer Savks
I am looking to do the same on my site do you still
Recommend this is 2019
WPBeginner Support
The recommendations in this article should still work
Admin
richard everson
Is there a way to have this option: “Use a bbPress forum topic for comments on this post” check marked by default when adding new posts?
Nate
Hey WPBEGINNER,
Thanks for the article!
Which comment program do you use here?
WPBeginner Support
Hi Nate,
We use default WordPress comments.
Admin
Hrvoje
Great tutorial, at first.
But I have one question. It works for default post type, but not for custom post types… Any idea how solve that?
Jeff Lynn
Looks like they are now delaying adding this feature until 2.7 release.
Dale Reardon
Hi,
I am thinking of installing this plugin on my new site but it hasn’t been updated for ages. Does anyone know if it still works or there is a newer alternative plugin?
Dale.
Memonon
I installed it today and messed a bit around with it creating posts and such as intended. Seems to work without any problems in the current version of WP (4.7)
Memonon
Pedro
I want to open topics on different forum categories, how can i do that?
Siparker
as bbpress 2.6 still isnt out do you think the topics for posts plugin is still worth using in the meantime? its got the not updated for over 2 years thing at the top in the wordpress plugin repo?
WPBeginner Support
No, but you can reach out to plugin author and ask them if they intend to update the plugin any time soon.
Admin
Atul Narang
Can readers login on the bbpress forum/commenting system with social media such as Facebook, twitter, etc. ?
Paul
Looks like a good way to keep a forum alive. What worries me is the risk of duplicate content, any thoughts on this?
WPBeginner Staff
You will have to create another topic manually,
Cédric
Hi and thanks for your great article !
I would like to use that but I’d like to have 2 different topics for each posts which is created, not only one. Is it possible ? How ?
Thanks you very much !
Alex
So say you have a new reader and they want to comment how does the email capture work and forum login work ?
Im hoping its EASY AS FOR TH READER E.G.
Name
Email
Password
How does it work? would like to save there email with mail chimp as well ?
Alex
David Foster
I think this is a cool idea, however you are not using this method on this post…did you find that it did not work well? Just curious.
WPBeginner Support
No we did not try it on WPBeginner.
Admin
Danielle
Hi wpbeginner,
This is very very Awesome ! Thank you for share
idriss
Thank you! i will give it a try.
Jeffro
Good article. Might be worth noting that this will be a core featured in bbPress 2.6 http://bbpress.org/blog/2013/11/bbpress-2-5-released/ I’m looking forward to it.
Hardeep Asrani
One feature suggest by me might also be in the core of 2.6 release, so I’m looking forward to it too.
WPBeginner Support
More reasons to look forward to 2.6
Admin