Skip to content

Instantly share code, notes, and snippets.

@webdados
Created January 27, 2022 10:23
Show Gist options
  • Save webdados/4c1ef92111cf4c6a44e8fb401a40e7c2 to your computer and use it in GitHub Desktop.
Save webdados/4c1ef92111cf4c6a44e8fb401a40e7c2 to your computer and use it in GitHub Desktop.
Use the legacy widgets in WordPress 5.8 or above instead of the new blocks based widgets
//Put this in your (chilld) theme functions.php file or use a code/php snippets plugin
add_filter( 'use_widgets_block_editor', '__return_false' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment