[wp-trac] [WordPress Trac] #18118: Append page slug to body_class function

WordPress Trac wp-trac at lists.automattic.com
Fri Jul 15 02:40:00 UTC 2011

#18118: Append page slug to body_class function
 Reporter:  andrewsvg        |       Owner:
     Type:  feature request  |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |

Comment (by johnbillion):

 Probably needs a prefix to the slug, eg page-my-page instead of just my-
 page. Might be an idea to do it for all hierarchical CPTs.

Ticket URL: <http://core.trac.wordpress.org/ticket/18118#comment:1>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list