[buddypress-trac] [BuddyPress] #4639: Add template hierarchy support
buddypress-trac
noreply at wordpress.org
Sat Nov 10 19:31:41 UTC 2012
#4639: Add template hierarchy support
-------------------------+------------------
Reporter: DJPaul | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 1.7
Component: Theme | Version:
Severity: normal | Resolution:
Keywords: commit |
-------------------------+------------------
Comment (by hnla):
Nice codex page Paul.
Not sure exactly what you mean by the 'hierarchy for TC template Parts' I
thought it was yourself that suggested those? but would agree not really
needed at this juncture and even if so I would think it's within the scope
of most devs to be able to fashion an approach.
as far as I can see the codex page and the detail you flesh out there is
what was required?
As an example I would expect my process always be to copy al bp-legacy
files to /my-theme/buddypress/members/single/etc but the naming is still
an issue? Is not what Ray is saying that home.php provides issues thus
renaming to index for custom use or dropping back to the idea of an
additional dir /single/custom/ to provide separation/distinction.
what I definitely want to avoid is having my-theme/bussypress/single/etc
working for all BP template files but then having to do my-
theme/members/single/home.php simply to overload one file and ending up
with a messy theme directory.
--
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/4639#comment:40>
BuddyPress <http://buddypress.org/>
BuddyPress
More information about the buddypress-trac
mailing list