Conditionally Add a Class to the Body Class Tag
In this short tutorial, I will describe how I added a class to WordPress’s body_class tag inside of an if statement.
In this short tutorial, I will describe how I added a class to WordPress’s body_class tag inside of an if statement.