Skip to:
Content

bbPress.org

Opened 9 years ago

Closed 9 years ago

Last modified 9 years ago

#1843 closed defect (fixed)

Theme compatibility issue

Reported by: gorgoglionemeister Owned by:
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0
Component: Appearance - Theme Compatibility Keywords:
Cc:

Description

When the user requests ?post_type=forum the template loader searches for archive-forum.php in the STYLESHEETPATH dir, in the TEMPLATEPATH dir and, finally, in the bbp_get_theme_compat_dir() dir. In the case archive-forum.php is only in the bbp_get_theme_compat_dir() dir, why this file isn't loaded? The template loader loads the current theme's page.php file. Is it correct?

Change History (2)

#1 follow-up: @johnjamesjacoby
9 years ago

  • Resolution set to fixed
  • Status changed from new to closed

Try the latest revision in the plugin branch; should be fixed now.

#2 in reply to: ↑ 1 @gorgoglionemeister
9 years ago

Replying to johnjamesjacoby:

Try the latest revision in the plugin branch; should be fixed now.

At the revision 3941 it doesn't seem to be fixed. If I'm not wrong, when bbp_template_include triggers, bbp_template_include_theme_supports() returns the path to the archive-forum.php file in the bbp-theme-compat dir (which is correct), but bbp_template_include_theme_compat() fallbacks to page.php in the current theme's dir.

Note: See TracTickets for help on using tickets.