[wp-trac] [WordPress Trac] #33653: Page Slug in body_class

WordPress Trac noreply at wordpress.org
Tue Sep 1 19:09:19 UTC 2015


#33653: Page Slug in body_class
-------------------------+-----------------------------
 Reporter:  valeriosza   |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Themes       |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:               |
-------------------------+-----------------------------
 Currently in body_class shows only the page_id, it would be interesting to
 have the page slug to customize the CSS for each page, even if you migrate
 the database, where the page ID may change, but not the slug.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/33653>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list