Hot answers tagged

1

It doesn't appear that you can (easily) add arbitrary attributes to the <body> tag. However, WordPress provides the function body_class() so you can add classes to the <body> tag. If your theme uses it, you'll find something along these lines in a template file (eg. header.php): <body <?php body_class(); ?>> In that case, you'll be ...


Only top voted, non community-wiki answers of a minimum length are eligible