How to edit classes in body tag?
try this //*** make Services full col ***/ add_filter( ‘body_class’, ‘custom_post_full_width’, 999, 2 ); function custom_post_full_width( $wp_classes, $class ) { if ( is_post_type_archive(‘services’) OR is_singular(‘services’) ) { // List of the only WP generated classes that are not allowed $blacklist = array(‘two-col-right’, ‘two-col-right-1080’); // Blacklist result $wp_classes = array_diff( $wp_classes, $blacklist ); // Extra classes … Read more