Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Specifying the surrounding page template in 1.7 to allow different templates for BP content

@r-a-y

Keymaster

I took a look at bbPress last night to see what it was doing differently.

Note: this is becoming more into a dev discussion than anything so bear with me!

bbPress does things differently in `bbp_template_include_theme_supports()` compared to BP in `bp_template_include_theme_supports()`.

bbPress:
`https://bbpress.trac.wordpress.org/browser/tags/2.1.2/bbp-includes/bbp-template-loader.php#L13`

BuddyPress (trunk):
`https://buddypress.trac.wordpress.org/browser/trunk/bp-core/bp-core-template-loader.php#L236`

We could probably mirror the same changes as bbPress by adding the page conditionals in `bp_template_include_theme_supports()` like bbPress does.

What do you think, @djpaul @johnjamesjacoby ?

Update: Just read through the dev chat and it looks like Paul is already working on something!

Skip to toolbar