modify body_class() output to show category-{slug} for single posts
-
Does anyone know how to modify or filter the body_class() output to get a category name or slug as a body class for single posts?
Right now, for single posts it only outputs something like:
<body class="single postid-481">
Thanks,
Michael
Viewing 11 replies - 1 through 11 (of 11 total)
Viewing 11 replies - 1 through 11 (of 11 total)
- The topic ‘modify body_class() output to show category-{slug} for single posts’ is closed to new replies.