Add post tag name to single post body class
-
I am searching for a way to add each post’s tag to its single post body class. I specifically need the tag name to appear as a body class (an article class or anything farther in won’t help).
Is there a simple bit of code I can add to my theme functions that will do this?
I’m running WordPress 3.6 and using a child theme of TwentyTwelve with minimal changes to the theme.
I would greatly appreciate any help. Thanks!
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Add post tag name to single post body class’ is closed to new replies.