Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: bbpress plugin – templates in bbpress folder

@anointed

Participant

My concept was to have template files defined just as directly as native wp does it, only using a folder system instead, thus keeping file_exists() to the same level.

As you can tell by the snippet, it is very basic. It works perfectly for standard post_types, as there are only a few template files to define.

A system like bbpress and buddypress is much more involved, thus requiring many new rules. Unfortunately I don’t know either system well enough yet to come up with a rock solid routing platform. I guess by the time I finish with bbpress that I will then have a strong enough understanding to pull this off.

Theoretically it should not break existing installs, as nothing really changes other than file locations, which would be defined anyhow. When plugins come into play it could become an entirely different situation though.

If you don’t beat me to it, I will try to come up with a complete system for bbpress when I finish my project site.

*I don’t think anything would actually have to change within bbpress itself. A custom function would simply reroute the wp template_include() to the new locations. But then again, I am sure you are aware of many other possible problems than I am.

Glad to hear you think it may be feasible.

Skip to toolbar