From b95baae5e2a836b92d7cc78cb8848de426e85189 Mon Sep 17 00:00:00 2001 From: mapk Date: Tue, 21 Jul 2020 10:35:34 -0700 Subject: [PATCH] Added line-height and widget block screen support to the theme. --- functions.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/functions.php b/functions.php index 721bad1..4df25c8 100644 --- a/functions.php +++ b/functions.php @@ -79,6 +79,12 @@ function gutenberg_starter_theme_setup() { 'flex-width' => true, 'flex-height' => true, ) ); + + // Add theme support for the new Widget-blocks screen in wp-admin. + add_theme_support( 'block-based-widgets' ); + + // Add theme support for custom line-height adjustements. + add_theme_support( 'experimental-line-height' ); } endif; add_action( 'after_setup_theme', 'gutenberg_starter_theme_setup' );