Add support for newer Gutenberg features to Seedlet and Varia themes

This commit is contained in:
Ben Dwyer 2021-01-29 09:33:23 +00:00
parent 2c4836a9fe
commit ae13b4e606
2 changed files with 13 additions and 1 deletions

View file

@ -256,7 +256,7 @@ if ( ! function_exists( 'seedlet_setup' ) ) :
add_theme_support( 'experimental-link-color' );
// Add support for experimental cover block spacing.
add_theme_support( 'experimental-custom-spacing' );
add_theme_support( 'custom-spacing' );
// Add support for custom units.
add_theme_support( 'custom-units' );

View file

@ -181,6 +181,18 @@ if ( ! function_exists( 'varia_setup' ) ) :
// Add support for responsive embedded content.
add_theme_support( 'responsive-embeds' );
// Add support for custom line height controls.
add_theme_support( 'custom-line-height' );
// Add support for experimental link color control.
add_theme_support( 'experimental-link-color' );
// Add support for experimental cover block spacing.
add_theme_support( 'custom-spacing' );
// Add support for custom units.
add_theme_support( 'custom-units' );
// Add support for Global Styles.
add_theme_support(
'jetpack-global-styles',