Skip to content

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

Closed

Description

@undertaker001

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

Activity

  1. adamziel commented on Sep 21, 2020

    @adamziel
    Contributor

    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

  2. draganescu commented on Sep 21, 2020

    @draganescu
    Contributor

    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.

  3. added
    [Type] Help Request
    on Sep 22, 2020
  4. aristath commented on Sep 22, 2020

    @aristath
    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 👍

  5. saur8bh commented on Sep 4, 2021

    @saur8bh

    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?

  6. kevin940726 commented on Sep 5, 2021

    @kevin940726
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Type] Help Request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions