Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #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!

    #1311471

    Hey Thomas,

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

    Regards,
    Yigit

    #1311479

    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’ );

    #1311488

    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.

    #1311489

    @NIXHALBES

    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.

    #1311534

    Hi,

    @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,
    Yigit

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

You must be logged in to reply to this topic.