[wp-trac] [WordPress Trac] #35326: New taxonomy template

WordPress Trac noreply at wordpress.org
Mon Oct 20 22:11:08 UTC 2025


#35326: New taxonomy template
-------------------------------------------------+-------------------------
 Reporter:  sebastian.pisula                     |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  6.9
Component:  Themes                               |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  has-patch needs-refresh needs-docs   |     Focuses:  template
  needs-dev-note                                 |
-------------------------------------------------+-------------------------
Changes (by jorbin):

 * keywords:  has-patch needs-refresh dev-feedback => has-patch needs-
     refresh needs-docs needs-dev-note
 * component:  Taxonomy => Themes


Comment:

 While it relates to taxonomies, this change actually affects themes so
 moving to that component.

 This should get a mention in the misc dev note, so adding `needs-dev-
 note`. First draft:

 **New Classic Themes Template for Taxonomy Terms**

 In classic themes, you can now use term IDs when creating taxonomy
 templates. With `taxonomy-$taxonomy-{$term->term_id}.php` templates you
 don't need to worry about templates breaking if you rename the `Oakland
 Athletics` term to `Athletics` the way you do if you use slug based
 template names.

 ----

 https://developer.wordpress.org/themes/classic-themes/basics/template-
 hierarchy/ will need to be updated (including the image) so adding `needs-
 docs`

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


More information about the wp-trac mailing list