Select Page

Adding a Logged-Out Class to WordPress Body Tag

Today I found myself in need of a logged-out body class on a WordPress site I’m building. Anyone who has ever coded a WordPress theme has most likely added the body_class() function to their project and it would look something like the following: > Obviously,...

Pin It on Pinterest