Archive for the ‘body_class’ Category

Lots of ways to add an ID to the `body` element

Posted on: No Comments
The following is a guest post by Trishah Woolley. Over the years, Trishah has collected a ton of code snippets that to the job of adding IDs and classes based on some variable information, like the URL or data from WordPress. Each of these snippets wer...