[wp-trac] [WordPress Trac] #22314: Add singular.php to template hierarchy
WordPress Trac
noreply at wordpress.org
Tue Oct 30 15:49:43 UTC 2012
#22314: Add singular.php to template hierarchy
-------------------------------------------------+-------------------------
Reporter: chipbennett | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting
Component: Template | Review
Severity: normal | Version: 3.4.2
Keywords: has-patch needs-codex needs-testing | Resolution:
-------------------------------------------------+-------------------------
Comment (by cais):
A few questions ...
Is this meant to be a generic template for all single views essentially
providing a merged `single` and `page` template, rather than falling
directly back to `index`?
Although it would add a consistency to the template hierarchy, and
possibly reduce a theme's payload by one (duplicated) file, what are the
benefits to adding this template?
Would there be a similar benefit to having `page` fallback to `single` (or
vice versa) instead?
--
Ticket URL: <http://core.trac.wordpress.org/ticket/22314#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list