Trusted WordPress tutorials, when you need them most.
Beginner’s Guide to WordPress
25 Million+
Websites using our plugins
Years of WordPress experience
WordPress tutorials
by experts

How to Add bbPress Forum to WordPress Posts as Comments

Editorial Note: We earn a commission from partner links on WPBeginner. Commissions do not affect our editors' opinions or evaluations. Learn more about Editorial Process.

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.

bbPress forum topics below 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.

bbPress discussion settings

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.

bbPress replies and topic reply form

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.

bbPress forum settings in discussion box on post edit screen

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.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how WPBeginner is funded, why it matters, and how you can support us. Here's our editorial process.

Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi with over 16 years of experience in WordPress, Web Hosting, eCommerce, SEO, and Marketing. Started in 2009, WPBeginner is now the largest free WordPress resource site in the industry and is often referred to as the Wikipedia for WordPress.

The Ultimate WordPress Toolkit

Get FREE access to our toolkit - a collection of WordPress related products and resources that every professional should have!

Reader Interactions

29 CommentsLeave a Reply

  1. Syed Balkhi says

    Hey WPBeginner readers,
    Did you know you can win exciting prizes by commenting on WPBeginner?
    Every month, our top blog commenters will win HUGE rewards, including premium WordPress plugin licenses and cash prizes.
    You can get more details about the contest from here.
    Start sharing your thoughts below to stand a chance to win!

  2. A. W. Raihan says

    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.

  3. Ahmed El Kordy says

    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 says

      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!


      • Ahmed El Kordy says

        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

  4. richard everson says

    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?

  5. Hrvoje says

    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?

  6. Dale Reardon says


    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?


    • Memonon says

      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)


  7. Siparker says

    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?

  8. Atul Narang says

    Can readers login on the bbpress forum/commenting system with social media such as Facebook, twitter, etc. ?

  9. Paul says

    Looks like a good way to keep a forum alive. What worries me is the risk of duplicate content, any thoughts on this?

  10. Cédric says

    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 :) !

  11. Alex says

    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.




    How does it work? would like to save there email with mail chimp as well ?


  12. David Foster says

    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.

Leave A Reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.