Home Forums Gutenberg Block shows in admin/preview not updating front end?


Block shows in admin/preview not updating front end?

    • jez

    • July 24, 2020 at 8:59 pm

    I have the following block that i made some changes to now it wont make the changes front end.

    I can add and edit content and it appears fine within the Gutenberg editor, but once viewing live it doesn’t make any changes.

    If for example i add in a new class name to the html here


    Upload it, i can see the change via the admin editor, but not on the front end. It even has the same block id in the admin and front end.

    If i change the name of the template and re-assign to the ACF it will make the change fine.

    Its almost as if the whole block is cached front end? I have no caching running either.

    Can anyone help why this would be happening please?

      // register a blue row block
                'name'              => 'contact-hero-row-blue',
                'title'             => __('Contact Hero Blue Row'),
                'description'       => __('Contact page hero row'),
                'category'          => 'clements_contact_cat',
                'icon'              => 'format-status',
                'mode'              => 'edit',
                'keywords'          => array( 'contact', 'row' ),
                'align'		=> false,
                'supports'	=> array(
                    'align'		=> array('wide'),
                    'multiple' => true
                'render_template' => 'template-parts/contact/blocks/contact-hero-row.php',
                // 'enqueue_style' => get_template_directory_uri() . '/css/blocks.css',
                // 'enqueue_script' => get_template_directory_uri() . '/js/min/lazysizes.min.js',
    • dareadel

    • December 19, 2020 at 12:39 pm

    Hello, were you able to resolve this? I am having the exact same issue.


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

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.