Global Block Not Updating

I’ve recently started using Global Blocks and while the feature is a life-saver in terms of making edits across multiple pages, the changes don’t reflect on the live pages unless I go to each page after the global block is updated and save each page. Is there a simpler way to push the updated global block to all live pages where the block lives?

Hi Jacob,

Thanks for reaching out.

Editing and updating the existing global block also reflects to the live pages where they are inserted, I just tried it and it works. The issue you’re getting is probably due to the cache since the saving action (save_post) of WordPress could clear the cache of the current page. Hence, the changes you added are only displayed when cache are cleared and that’s when you saved the actual page.

And since the builder has no ability to predict or detect where the blocks are added, then it can’t clear the cache of other pages once the actual block is edited. Plus, cache is not part of the theme and builder, it’s usually a plugin and host feature.

Please try disabling any of your cache (plugin or host feature) and test it again.

Thanks!

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.