Disable support for widgets block editor, regen lang

This commit is contained in:
Alexander Agnarson 2021-07-23 18:45:42 +02:00
parent 34bb266728
commit 6297f4cf8a
2 changed files with 25 additions and 22 deletions

View file

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