Site logo

Archived topic

Elements Blocks/Hooks don't load gutenberg block styles/JS

3 replies · Started by FJ Solutions on October 26, 2020

Viewing posts 1–4 of 4

Hi there, when I insert a gutenberg Blocks through Elements it does not load the styles nor the JS associated with the block.
Could you help me with that? i need to insert blocks in all single php templates files

Thanks in advance,
Santiago

Hi there,

What block plugin are you using?
For blocks to render correctly the styles must be loaded dynamically - which unfortunately a lot of block plugins don't do that.

Our GenerateBlocks plugins does load them dynamically:

https://wordpress.org/plugins/generateblocks/

Hi there, thanks for your quick reply. I didn't know that pluginof yours will use it in my next project for sure, looks good. I'm using UAGB, and I've already build the whole website with that, I can't change it now. Is there a way to make those load dinamycally?

Could you link me to a page where i can see the issue - so we can confirm that is the problem?
If it is - there isn't anything we can do about that.

You can of course still use GB for your Block Elements.
GB only loads the HTML and CSS required to render the content - it has no bloat.

This archived topic is closed to new replies.