| 1 |
<?php |
| 2 |
/** |
| 3 |
* Loads default theme supports for block themes. |
| 4 |
* |
| 5 |
* @package gutenberg |
| 6 |
*/ |
| 7 |
|
| 8 |
if ( gutenberg_is_fse_theme() ) { |
| 9 |
add_theme_support( 'post-thumbnails' ); |
| 10 |
add_theme_support( 'responsive-embeds' ); |
| 11 |
add_theme_support( 'editor-styles' ); |
| 12 |
add_theme_support( |
| 13 |
'html5', |
| 14 |
array( |
| 15 |
'style', |
| 16 |
'script', |
| 17 |
) |
| 18 |
); |
| 19 |
add_theme_support( 'automatic-feed-links' ); |
| 20 |
add_filter( 'should_load_separate_core_block_assets', '__return_true' ); |
| 21 |
} |
| 22 |
|