#1971 closed defect (wontfix)
introduce page-bbp.php
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Theme Compatability | Version: | 2.1.2 |
| Severity: | normal | Keywords: | |
| Cc: | jared@… |
Description
if this file will be in the theme directory than use this instead of page.php for displaying everything...
page.php is used if the theme has no support or the template files does not exist.
All these files (24 of them) are too many, id a user what a custom sidebar or a custom template for all files...
Change History (5)
Correction: page.php is used if one of 15! files does not exist.
My options is so:
- adding 1 file page-bbp.php for first 4 (archives files)
- and single-bbp.php for last 11 (single named files)
- Cc jared@… added
- Component changed from General to Theme Compatability
- Resolution set to wontfix
- Status changed from new to closed
We can't replace/override the theme's page.php with our own because there is no way to predict the format.
Every theme handles their template files differently, so we can't just use our own globally.
Replying to jaredatch:
We can't replace/override the theme's page.php with our own because there is no way to predict the format.
Every theme handles their template files differently, so we can't just use our own globally.
For a easiest way to customize a new theme with bbPress this feature would be very handy...
comment:5
johnjamesjacoby — 7 months ago
- Milestone Awaiting Review deleted
Still not understanding. 'page-bbp.php' would mean needing a page with the slug 'bbp' for it to work. What's the point of that?
bbPress can't manipulate existing themes, so any new template files need to stay inside bbPress. If that's the case, we can't reliably hijack a full page, because we'll never know what the mark-up is.
I fully understand the problem, but I'm fuzzy on your proposed solultion.
sorry for my bad English