Lazy Blocks

Basic HTML and CSS skills are enough to create your own Gutenberg Blocks with Lazy Blocks.

If you are proficient enough with HTML to create an element for your website, and you’d like it to be a Gutenberg block, but lack the other skills to create blocks, Lazy Blocksy might be worth checking out.

Lazy Blocks screenshot
Creating a simple HTML Details block.

Demo

I created a simple PDF File List block, that shows the PDF thumbnail instead of the unordered list dot. Pure CSS magic, no simple to use. Lazy Blocks is very, very good for that sort of stuff.

Custom blocks in the block editor

Content for the blocks, can either be entered in the side panel to the right, or within the editor, or both, depending on what type of content it is. In the demo, I’ve only used simple text fields, but Lazy Blocks supports a wide range of fields.

Laze Blocks experience in the block editor
This is how the custom blocks can look in the Gutenberg block editor.

Extract from WordPress.org

Create custom blocks visually, add controls to your blocks using drag & drop, write blocks output using HTML or PHP code. You can create custom blocks as well as custom meta fields for specific post types. Furthermore, you are able to create post templates with predefined blocks for any post type.

https://wordpress.org/plugins/lazy-blocks/

Leave a Reply

Your email address will not be published. Required fields are marked *