From 77645d78181b2171bb5f6064a8d67e05f8f29e5b Mon Sep 17 00:00:00 2001 From: Sami Keijonen Date: Sat, 26 Nov 2016 18:42:28 +0200 Subject: [PATCH] Add theme support for selective refresh for widgets. --- functions.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/functions.php b/functions.php index 297e9ad..69e3940 100644 --- a/functions.php +++ b/functions.php @@ -64,6 +64,9 @@ function _s_setup() { 'default-color' => 'ffffff', 'default-image' => '', ) ) ); + + // Add theme support for selective refresh for widgets. + add_theme_support( 'customize-selective-refresh-widgets' ); } endif; add_action( 'after_setup_theme', '_s_setup' );