WordPress plugin
Lazy Blocks Pro
Lazy Blocks Pro extends the Lazy Blocks builder for creating custom blocks in the WordPress block editor. Give a block a name, icon, and category, then add controls for its content and define its output. Blocks can use custom HTML, PHP, Handlebars, or template documents in the theme folder, and can be exported and imported for reuse.
Build blocks with fields and defined output
Lazy Blocks Pro extends the Lazy Blocks builder for creating custom blocks in the WordPress block editor. Give a block a name, icon, and category, then add controls for its content and define its output. Blocks can use custom HTML, PHP, Handlebars, or template documents in the theme folder, and can be exported and imported for reuse.
Available controls include text, picture, gallery, rich text, choice, repeater, and inner blocks fields. The extension also supports custom meta fields for selected post types. A separate legacy Templates feature includes post templates with predefined blocks; it is deprecated for future use but continues to work on existing sites.
Pro controls for selecting and structuring content
Posts controls search for and choose posts by post type or taxonomy. Taxonomy controls search categories, tags, and other custom taxonomies, while Users controls search for visitors by role. Units adds a number input that accepts CSS units. Message displays guidance between controls, and Code Editor lets you insert code parts with syntax highlighting.
Control conditions show or hide fields according to the values of other controls, so editors see relevant options as they work. Panels and dividers group fields in the block panel and make longer control lists easier to navigate.
Block assets and editor previews
Styles & Scripts lets you add custom CSS and JavaScript to individual blocks. Define styles for the editor and frontend, and add scripts for interactive frontend behavior. The extension loads these assets only when needed. Blocks Preloading displays block previews as soon as the page editor loads.
Set up a block for your website
- Configure the block name, icon, and category.
- Add the controls editors need.
- Choose an output method and write the block output.
- Preview the block in the editor, then organize its controls with panels or dividers.
- Define any required styles or scripts.
For more advanced blocks, output can use PHP or a theme template file. PHP filters and actions also let developers customize parts of custom blocks from the backend.
Translation and SEO analysis support
Lazy Blocks supports WPML compatibility for translating text controls. Lazy Blocks Pro also adds content analysis support for Rank Math and Yoast SEO.
