#2526 closed idea (invalid)
Multiple Parent forum_ids in has_topics loops.
Reported by: | MacPresss | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Component - Topics | Keywords: | |
Cc: |
Description
bbp_has_topics() only can trigger a single parent_forum id.
Maybe it's a good idea to have the parent_forum option inside it's own array ? so you can do something like this.
'parent_forum' => array( 3, 44, 65, 103 )
List all posts from those forum_ids.
Or maybe bring back the 'exclude' => -2,-7,-22,-88 option.
To exclude those forum_ids. This feature was already inside bbPress 1.0
Change History (2)
Note: See
TracTickets for help on using
tickets.
Try
post_parent__in
orpost_parent__not_in
when performing topic queries.For reply queries, or combination topic/reply post types, you'll need to use a meta query, which will likely be pretty slow.
Closing as invalid. You'll likely want to open a forum topic to discuss this further.