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