Skip to:
Content

bbPress.org

Opened 3 years ago

Last modified 2 years ago

#2966 new defect

content-search.php template issues with certain themes.

Reported by: Robkk Owned by:
Milestone: 2.7 Priority: normal
Severity: normal Version:
Component: Appearance - Theme Compatibility Keywords: needs-patch
Cc: wordpress@…

Description

Some themes like TwentyFifteen have a template called content-search.php, well so does bbPress.

So anyone running a theme with the same template file intended for the WordPress search form will have issues with bbPress forum search as bbPress would use this template instead of bbPress'.

Attachments (1)

content-search.php issue..jpg (114.1 KB) - added by Robkk 3 years ago.
Here is an example image of what the user will likely see if they come across the same issue while trying to use bbPress' forum search.

Download all attachments as: .zip

Change History (3)

@Robkk
3 years ago

Here is an example image of what the user will likely see if they come across the same issue while trying to use bbPress' forum search.

#1 @johnjamesjacoby
3 years ago

  • Milestone changed from 2.6 to 2.7

This stinks.

Not much we can do, I don't think.

Moving to 2.7 to investigate further.

#2 @mechter
2 years ago

  • Cc wordpress@… added

I encountered this issue in TwentyFifteen.

Not much we can do, I don't think.

Not true.

We could check whether the theme's content-search.php file supports bbPress. This could be as simple as testing for the presence of "bbp_get_search_rewrite_id()" and/or "bbp_has_search_results()" in the theme's content-search.php. If these strings are missing, that's probably not a compatible theme and we probably shouldn't treat it as such.

Note: See TracTickets for help on using tickets.