[wp-trac] [WordPress Trac] #60881: Introduce 'template_name' label to custom post types and custom taxonomies

WordPress Trac noreply at wordpress.org
Mon Jun 10 23:21:08 UTC 2024


#60881: Introduce 'template_name' label to custom post types and custom taxonomies
-------------------------------------------------+-------------------------
 Reporter:  aljullu                              |       Owner:
                                                 |  peterwilsoncc
     Type:  enhancement                          |      Status:  closed
 Priority:  normal                               |   Milestone:  6.6
Component:  Editor                               |     Version:  6.1
 Severity:  normal                               |  Resolution:  fixed
 Keywords:  has-patch commit gutenberg-merge     |     Focuses:
  dev-reviewed                                   |
-------------------------------------------------+-------------------------
Changes (by peterwilsoncc):

 * status:  assigned => closed
 * resolution:   => fixed


Comment:

 In [changeset:"58377" 58377]:
 {{{
 #!CommitTicketReference repository="" revision="58377"
 Editor: Add labels for template name display in site editor.

 Add the label `template_name` to post types and taxonomies for use by the
 site editor to display on the templates/add new template screens to allow
 extenders to customize the display.

 For post types the template name applies to templates for a singular pages
 with the default value "Single item: [singular name]".

 For taxonomies the template name applies to templates for term archives
 with the default value "[singular name] Archives".

 Props aljullu, audrasjb, ntsekouras, ellatrix, oglekler, rajinsharwar.
 Fixes #60881.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/60881#comment:16>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list