• Resolved foliobook

    (@foliobook)


    Something strange has been happening for a few days … it is no longer possible to put images in the slider unless I deactivate the authorized blocks in my mu-plugin.
    My code:

    add_filter( 'allowed_block_types', 'fbk_allowed_block_types', 10, 2 );
    function fbk_allowed_block_types( $allowed_blocks, $post ) {
    
        $allowed_blocks = array(
            'core/latest-posts',
            'core/block',
            'core/embed',
            'core/buttons',
            'core/button',
            'core/image',
            'core/paragraph',
            'core/heading',
            'core/columns',
            'core/column',
            'core/separator',
            'core/spacer',
            'core/cover',
            'core/gallery',
            'core/group',
            'core/list',
            'core/media-text',
            'core/navigation',
            'core/navigation-link',
            'core/nextpage',
            'blockgallery/masonry',
            'blockgallery/stacked',
            'eedee/block-gutenslider'
        );
     
        return $allowed_blocks;
     
    }

    thank you for your comeback

    • This topic was modified 4 years, 6 months ago by foliobook.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author eedee

    (@eedee)

    Hey @foliobook,

    i dont’t understand exaxtly. Does it work, when you add the filter or when you remove the filter?

    Thread Starter foliobook

    (@foliobook)

    When I add this filter. Here I deactivate everything that goes normally.

    Plugin Author eedee

    (@eedee)

    Have you installed new plugins or new plugin versions recently? Did you try deactivating all plugins but Gutenslider to see if it works?

    We have a working installation here on WP 5.5. with or without the most recent Gutenberg plugin installed.

    Please disable all plugins and see if it works. It seems to be a interference with another plugin you use.

    Plugin Author eedee

    (@eedee)

    An updates from your site? We will close the issue otherwise.

    Plugin Author eedee

    (@eedee)

    closing

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Bug today…’ is closed to new replies.