Disable support for widgets block editor, regen lang

This commit is contained in:
Alexander Agnarson 2021-07-23 18:44:33 +02:00
parent 5906ac500c
commit a0ec82c55a
2 changed files with 25 additions and 22 deletions

View file

@ -66,6 +66,9 @@ if ( ! function_exists( 'boxstyle_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( 'boxstyle-small', 200, 200, true );
add_image_size( 'boxstyle-medium', 520, 292, true );