WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. richardjay
    Member
    Posted 2 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 ?

    http://wordpress.org/extend/plugins/bbpress-post-topics/

  2. David Dean
    Member
    Plugin Author

    Posted 2 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
    Member
    Posted 2 years ago #

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

    more info in this thread:

    http://wordpress.org/support/topic/plugin-bbpress-topics-for-posts-does-it-work-with-custom-post-types-1?replies=5#post-2712148

  4. David Dean
    Member
    Plugin Author

    Posted 2 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

About this Topic