Site logo

Archived topic

Custom div blocks in pages

3 replies · Started by Rust on September 24, 2020

Viewing posts 1–4 of 4

Hello.
Why can't i insert custom div-blocks into pages or sections? Blocks work normally only in hooks.

Hi there,

Blocks will only be rendered if the editor loads the block editor styles. Which does not apply when using the Classic editor or Sections. It works in the Block Element as that is using the block editor.

I would recommend NOT using Sections. Instead use our GenerateBlocks plugin within the Block Editor. You can use the Container Block to create sections:

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

This archived topic is closed to new replies.