Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

@rogercoathup

Participant

@djpaul, @hnla, @r-a-y, @mercime et al,

I’ll move the conversation back over on to the trac ticket, as I think that’s the best place for this discussion to stop it becoming lost.

As @hnla points out bbPress whilst supporting template parts auto injected into page.php, also allows you to provide full templates for specific content where you want to override the automatic mechanism (TBC). As with the WordPress template hierarchy it’s based on the type and name of the content being displayed. So, for example — you could create a template archive-myforumxyz.php.

I suspect a similar hierarchy based system for BuddyPress would be best route — with template hierarchy names that recognise display of single groups, single profiles, directories, etc., and override the auto injection into page.php if defined.

Will elaborate my thoughts on the trac.

Skip to toolbar