Skip to:
Content

bbPress.org

Opened 10 years ago

Last modified 8 years ago

#2725 new defect (bug)

bbp_has_topics is broken on the tag page

Reported by: diabolique's profile Diabolique Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: API - Widgets Keywords: reporter-feedback dev-feedback
Cc:

Description

Hi,

There is a bug with bbp_has_topics loop. This loop works fine on all pages except the page of tag archive:
(http://www.???.com/forums/topic-tag/news/)

	if ( bbp_has_topics( array( 'author' => 0, 'show_stickies' => false, 'order' => 'DESC', 'post_parent' => 'any', 'paged' => 1 ) ) ) :
		bbp_get_template_part( 'loop', 'topics' );
	else :
		bbp_get_template_part( 'feedback', 'no-topics' );
	endif;

It doesn't show all recent global topic but it shows topics of 1 tag only.

Change History (4)

#1 @Diabolique
10 years ago

I mean if I use this loop on sidebar/footer as a second loop for display recent global topics.

#2 @thebrandonallen
9 years ago

  • Keywords needs-patch needs-unit-tests added

Confirmed.

Possibly related #2931

This ticket was mentioned in Slack in #bbpress by jjj. View the logs.


8 years ago

#4 @johnjamesjacoby
8 years ago

  • Component changed from General to API - Widgets
  • Keywords reporter-feedback dev-feedback added; needs-patch needs-unit-tests removed
  • Milestone changed from Awaiting Review to Future Release

I'm not able to duplicate this in any bundled theme, with any combination of widget settings.

I think we need more information to proceed. Clearer duplication steps will go a long way to helping us out.

Note: See TracTickets for help on using tickets.