[wp-trac] [WordPress Trac] #15017: get_body_class() doesn't return information about the current custom taxonomy archive
WordPress Trac
wp-trac at lists.automattic.com
Mon Oct 4 12:03:56 UTC 2010
#15017: get_body_class() doesn't return information about the current custom
taxonomy archive
--------------------------+-------------------------------------------------
Reporter: nkuttler | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Taxonomy | Version:
Severity: normal | Keywords: has-patch
--------------------------+-------------------------------------------------
Comment(by hakre):
why not {{{<body class="... tax-$taxonomy term-$term ...">}}}?
that would save the $taxonomy duplication and both can be combined in css
selectors by concatenation ({{{body.tax-$taxonomy.term-$term}}}).
Additionally, from a styling perspective the same term can be addressed
across taxonomies
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15017#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list