Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to revert back to old legacy widget style.?! #25483

Closed
undertaker001 opened this issue Sep 20, 2020 · 5 comments
Closed

How to revert back to old legacy widget style.?! #25483

undertaker001 opened this issue Sep 20, 2020 · 5 comments
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions.

Comments

@undertaker001
Copy link

How to revert back to legacy widgets style page.?!
widget

@adamziel
Copy link
Contributor

adamziel commented Sep 21, 2020

Unfortunately it isn't possible at the moment - you would have to deactivate the entire Gutenberg plugin and rely on the version shipped in WP core. There's a plan to address this shortcoming in the nearest future. #24949 is related. There's a PR here that makes it possible using the classic editor plugin: WordPress/classic-editor#137

@draganescu
Copy link
Contributor

draganescu commented Sep 21, 2020

Wait :) There are two ways to get editor (screen) back:

  • add to your theme's functions file
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false', 100 );

or you can also access the old screen via the old url: SITE_URL + /wp-admin/widgets.php

Neither of the above will bring back the old widgets panel in the customizer as long as the Gutenberg plugin is active. This is a bug and there is work in progress to disable that via the classic editor plugin.

@aristath aristath added the [Type] Help Request Help with setup, implementation, or "How do I?" questions. label Sep 22, 2020
@aristath
Copy link
Member

Closing this one since there's nothing actionable here, and the response by @draganescu above provides solutions on how to get the old screens back 👍

@saur8bh
Copy link

saur8bh commented Sep 4, 2021

Wait :) There are two ways to get editor (screen) back:

  • add to your theme's functions file
add_filter( 'gutenberg_use_widgets_block_editor', '__return_false', 100 );

or you can also access the old screen via the old url: SITE_URL + /wp-admin/widgets.php

Neither of the above will bring back the old widgets panel in the customizer as long as the Gutenberg plugin is active. This is a bug and there is work in progress to disable that via the classic editor plugin.

Hi, It's not working for me... Is there any new code to disable the trash block widgets?

@kevin940726
Copy link
Member

@mrskt We have an updated doc specifically for opting-out of Widgets Block Editor.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Type] Help Request Help with setup, implementation, or "How do I?" questions.
Projects
None yet
Development

No branches or pull requests

6 participants