diff --git a/inc/includes/theme-setup.php b/inc/includes/theme-setup.php index 055dd0c0..781f068c 100644 --- a/inc/includes/theme-setup.php +++ b/inc/includes/theme-setup.php @@ -129,11 +129,18 @@ function rebuild_post_types() { * Build theme support */ function build_theme_support() { + global $cp_version; + add_theme_support( 'automatic-feed-links' ); add_theme_support( 'title-tag' ); add_theme_support( 'post-thumbnails' ); add_theme_support( 'align-wide' ); add_theme_support( 'wp-block-styles' ); + + if ( isset( $cp_version ) ) { + return; + } + add_theme_support( 'html5', [