Disable support for widgets block editor, regen lang

This commit is contained in:
Alexander Agnarson 2021-07-23 18:46:05 +02:00
parent 05a4b796f6
commit 3238c31831
2 changed files with 28 additions and 25 deletions

View file

@ -72,6 +72,9 @@ if ( ! function_exists( 'magaziner_setup' ) ) {
// Declare WooCommerce support
add_theme_support( 'woocommerce' );
// Disable support for widgets block editor
remove_theme_support( 'widgets-block-editor' );
// Thumbnail sizes
add_image_size( 'magaziner-small', 160, 160, true );
add_image_size( 'magaziner-medium', 520, 292, true );