[wp-trac] [WordPress Trac] #22314: Add singular.php to template hierarchy
WordPress Trac
noreply at wordpress.org
Wed Jun 17 23:35:56 UTC 2015
#22314: Add singular.php to template hierarchy
-------------------------------------------------+-------------------------
Reporter: chipbennett | Owner: jorbin
Type: enhancement | Status: assigned
Priority: normal | Milestone: 4.3
Component: Themes | Version: 3.4.2
Severity: normal | Resolution:
Keywords: has-patch needs-codex needs-testing | Focuses: template
needs-refresh 2nd-opinion |
-------------------------------------------------+-------------------------
Comment (by peterwilsoncc):
+1
{{{
#!php
<?php
get_template_part( 'single' );
}}}
This has been my page.php on client and personal projects for years, per
@jorbin's comment above it can become a little counter-intuitive around
parent/child themes & generally keeping track.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22314#comment:22>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list