Disable support for widgets block editor, regen lang

This commit is contained in:
Alexander Agnarson 2021-07-23 18:44:46 +02:00
parent affae67849
commit 4cbd4baf58
2 changed files with 25 additions and 22 deletions

View file

@ -66,6 +66,9 @@ if ( ! function_exists( 'curver_setup' ) ) {
// Enable support for selective refresh of widgets in customizer
add_theme_support( 'customize-selective-refresh-widgets' );
// Disable support for widgets block editor
remove_theme_support( 'widgets-block-editor' );
// Thumbnail sizes
add_image_size( 'curver-small', 200, 200, true );
add_image_size( 'curver-medium', 520, 292, true );