diff --git a/inc/roots-cleanup.php b/inc/roots-cleanup.php index cace667820..5b85cd798f 100644 --- a/inc/roots-cleanup.php +++ b/inc/roots-cleanup.php @@ -588,6 +588,10 @@ function roots_body_class() { $cat = get_the_category(); } + if (is_front_page()) { + return; // Avoid duplicate 'home' class when using static front page + } + if(!empty($cat)) { return $cat[0]->slug; } elseif (isset($term->slug)) {