// functions.php function singular_body_class( $classes ) { if( is_singular() ) $classes[] = 'singular'; return $classes; } add_filter( 'body_class', 'singular_body_class' );
Warning: Trying to access array offset on null in /home/clients/7f7a8d8eb6e40c50d3548b06c548734d/web/wp-includes/class-wp-query.php on line 3766