Block widgets (WordPress)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen

Probably simultaneously with the introduction of Gutenberg, so-called block widgets were introduced: An updated presentation of the widgets screen at wp-admin » Appearance » Widgets.


So far (2023.10), I found Block widgets quite unworkable. There are at least two ways to disable it:

Classic Widgets plugin

WordPress issued its own plugin to disable Block widgets:

Through code?

It seems this can also be done through code in several ways:

Maybe the most robust approach: Add this to functions.php:

function example_theme_support() {
    remove_theme_support( 'widgets-block-editor' );
add_action( 'after_setup_theme', 'example_theme_support' );

See also