Skip to:
Content

bbPress.org

Opened 14 years ago

Closed 14 years ago

#1833 closed defect (bug) (fixed)

WordPress CPT archive-* and single-* templates are skipped

Reported by: johnjamesjacoby's profile johnjamesjacoby Owned by: johnjamesjacoby's profile johnjamesjacoby
Milestone: 2.1 Priority: normal
Severity: normal Version: 2.0
Component: Appearance - Theme Compatibility Keywords:
Cc:

Description

If a theme has archive-forum.php or archive-topic.php in it, bbPress will skip over it and try to use theme compatibility instead.

Change History (1)

#1 @johnjamesjacoby
14 years ago

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

(In [3927]) Theme Compatibility:

  • Introduce bbp_is_theme_compat_original_template() and bbp_set_theme_compat_original_template() functions, to allow the template loader to properly use custom post type templates.
  • Refactor BBP_Theme_Compat to use magic methods.
  • Reorder bbp_template_include_theme_supports() to put _edit() checks before single/archive checks, to prevent them from being stomped.
  • Clean up BBP_Theme_Compat usage to work with refactored approach.
  • Fixes #1833.
Note: See TracTickets for help on using tickets.