mirror of
https://ghproxy.net/https://github.com/AlxMedia/boxstyle.git
synced 2025-08-26 16:44:24 +08:00
Disable support for widgets block editor, regen lang
This commit is contained in:
parent
5906ac500c
commit
a0ec82c55a
2 changed files with 25 additions and 22 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue