[wp-trac] [WordPress Trac] #18375: Post type templates
WordPress Trac
noreply at wordpress.org
Sun Oct 2 10:49:42 UTC 2016
#18375: Post type templates
--------------------------------------+-----------------------
Reporter: johnbillion | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: 4.7
Component: Posts, Post Types | Version:
Severity: normal | Resolution:
Keywords: has-patch has-unit-tests | Focuses: template
--------------------------------------+-----------------------
Comment (by Mte90):
Replying to [comment:35 WPDevHQ]:
> Replying to [comment:34 Mte90]:
> > The difference respect `18375.diff`:
> >
> > * Now use get_file_data to check and get the value for Template Name
and for Template Type
> > * Not use the labels->attributes but use the old code to print Page
Attributes/Attributes as explained on
https://core.trac.wordpress.org/ticket/18375#comment:32
Here I explained why the problem happen and why of this choose, and for
the template you have to add that in a your template file
https://core.trac.wordpress.org/ticket/18375?replyto=35#comment:1
--
Ticket URL: <https://core.trac.wordpress.org/ticket/18375#comment:37>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list