diff --git a/quadrat/functions.php b/quadrat/functions.php index 3a8f5bace9..cb0523f927 100644 --- a/quadrat/functions.php +++ b/quadrat/functions.php @@ -9,6 +9,9 @@ function quadrat_support() { '/assets/theme.css', ) ); + + // Remove theme support for block templates so that styles load correctly: + remove_theme_support( 'block-templates' ); } add_action( 'after_setup_theme', 'quadrat_support' ); endif; @@ -53,4 +56,4 @@ function quadrat_override_block_templates( $template ) { } -add_filter( 'template_include', 'quadrat_override_block_templates' ); \ No newline at end of file +add_filter( 'template_include', 'quadrat_override_block_templates' );