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


Block shows in admin/preview not updating front end?

  • 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',
  • Hello, were you able to resolve this? I am having the exact same issue.


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

The topic ‘Block shows in admin/preview not updating front end?’ is closed to new replies.