bbPress Topics for Posts
Stop Pages generating Topics ? (4 posts)

  1. richardjay
    Posted 4 years ago #

    Have just installed the plugin and am finding that Pages are creating Forum topics as well as Posts.

    How do I set it so that only Posts generate Forum topics ?


  2. David Dean
    Plugin Author

    Posted 4 years ago #

    As a quick fix, you can add a line like this to your theme's functions.php file:

    add_filter( 'bbppt_eligible_post_types', create_function( '$post_types', 'return array("post");' ) );

    I built that in this reply box, but the syntax looks right. Let me know how it works for you!

  3. kuching
    Posted 4 years ago #

    the function mentioned above seems to introduce issues with another plugin, posts2posts by scribu

    more info in this thread:


  4. David Dean
    Plugin Author

    Posted 4 years ago #

    Am I correctly reading the other thread that the issue with the filter is actually a post2post issue, and is resolved?

    Or does using a named function still present a problem?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • bbPress Topics for Posts
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic