• Resolved jaykaybee

    (@jaykaybee)


    Bill, I’m new to WordPress.

    I’m planning on using bbPress in a membership site to post certain kinds of announcements and brief articles (with replies turned off) that I prefer to keep out of the “blog posts” stream on my site.

    This is mostly because I’m finding it hard to control where blog posts do and don’t show up, e.g. I keep finding new “leaks” such as “next” buttons that take my reader somewhere I don’t intend them to go from a navigation control perspective. Also I’m not sure how to control RSS feeds etc. Anyway, that’s a side note but I’d be interested if you have any thoughts on other mechanisms (besides bbpress) to publish, display, and control user navigation/access to short announcements.

    Back to my main point, using CSS I have turned off extraneous bbPress forum display elements that I don’t need. So I end up with a forum listing/index page that lists my “topics” as articles, and that’s all fine. HOWEVER, I can’t get bbpress to work well with things such as searching or filtering or using the tags. Have tried lots of things with help from bbpress forums to no avail. Not to mention there is kind of a navigation nightmare around bbpress breadcrumbs etc.

    So I’m wondering:
    1. Can I use your plug-in to display forum topics (as posts) via a shortcode on a page? If so, what is the appropriate modification to the shortcode to specify forum topics within a particular forum?

    2. Assuming this is possible, once the forum topics are displayed on a page, can you think of a way that my readers can filter or search or see all tagged topic/posts easily?

    3. From a navigation point of view, once people have clicked off of the index listing created by your shortcode, how do you recommend I handle navigation back to the index listing page?

    4. I think Posts Table Pro can achieve the above but I’m also curious to hear about your plugin, and I’m sure I will have to do some testing all around.

    Thanks for any pointers you can provide!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Bill Erickson

    (@billerickson)

    Yes, you should be able to use Display Posts to list bbPress content.

    bbPress uses the ‘topic’ post type for new topics, and ties it to a specific forum by setting the post_parent equal to the forum’s ID.

    To display the most recent topics in a forum with an ID of 5, you could use: [display-posts post_type=”topic” post_parent=”5″]

    Display Posts doesn’t have a built-in method for allowing users to filter results. You could build your own filtering tool, or use another plugin like FacetWP to filter it: https://displayposts.com/2019/04/20/facetwp-support/

    I have bbPress and I tried the shortcode listed above but it did not work. Perhaps I’m not understanding exactly what you mean. What is a post type? And how do I check what mine is, so I can type the correct one in the shortcode?

    Has anyone used the following shortcode and have it work?

    [display-posts post_type=”topic” post_parent=”5″]

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Displaying forum topic posts’ is closed to new replies.