Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
  • #1311155

    Hi guys,

    WP5.8 launched today which changes the classic widgets function to use blocks

    The new blocks function seems to add the Cookie consent modal content into the blocks. So in order to use widgets again I had to install the official Classic Widgets plugin from WordPress:

    This will need addressing in the next release as I imagine a lot of confused people today!


    Hey Thomas,

    Thanks a lot for sharing! We will be recommending the plugin!



    Hey Thomas,
    Thanks for Info.

    And for those who don’t want to solve everything via plugins, here is the code for the child theme functions.php

    // Disables the block editor from managing widgets in the Gutenberg plugin.
    add_filter( ‘gutenberg_use_widgets_block_editor’, ‘__return_false’ );

    // Disables the block editor from managing widgets.
    add_filter( ‘use_widgets_block_editor’, ‘__return_false’ );


    Cheers @NIXHALBES
    If Kriesi and team are not planning on integrating Gutenberg Footers then the code above should be considered for the core theme to avoid confusion.

    I’ve not tested the code yet but looks right to me.



    Just looked at the plugin source code LOL yep definitely will be entering the filters manually into functions.php! Thanks for sharing this one!

    The plugin is literally two lines of code with a load of annotations and a readme file.



    @NIXHALBES thanks for sharing! I just checked the temporary fix our devs applied and it seems like they used that filter as well.

    @thinkjarvis Thanks for checking :)

    Best regards,

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.