[wp-trac] [WordPress Trac] #39493: Include custom post type slug as body class

WordPress Trac noreply at wordpress.org
Wed Jun 4 18:23:22 UTC 2025


#39493: Include custom post type slug as body class
-----------------------------+-----------------------------
 Reporter:  danielbachhuber  |       Owner:  (none)
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Future Release
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  needs-patch      |     Focuses:
-----------------------------+-----------------------------
Changes (by jorbin):

 * keywords:  has-patch => needs-patch


Comment:

 [38951] partially fixed this, but now the patch won't apply cleanly. I
 would support the addition of `single-$postType-$slug` so this will need a
 new patch in order to make it happen.

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


More information about the wp-trac mailing list