Add theme support for selective refresh for widgets.

This commit is contained in:
Sami Keijonen 2016-11-26 18:42:28 +02:00
parent 7d0846eb2d
commit 77645d7818
1 changed files with 3 additions and 0 deletions

View File

@ -64,6 +64,9 @@ function _s_setup() {
'default-color' => 'ffffff', 'default-color' => 'ffffff',
'default-image' => '', 'default-image' => '',
) ) ); ) ) );
// Add theme support for selective refresh for widgets.
add_theme_support( 'customize-selective-refresh-widgets' );
} }
endif; endif;
add_action( 'after_setup_theme', '_s_setup' ); add_action( 'after_setup_theme', '_s_setup' );