WordPress plugin

Lazy Blocks Pro

Lazy Blocks Pro extends the Lazy Blocks builder for developers creating custom blocks in the WordPress block editor. Set a block name, icon, and category, add controls for its content, then define its output with custom HTML, PHP, Handlebars, or a template file in the theme. Blocks can be exported and imported for reuse. The builder also works with custom meta fields for selected post types and includes controls such as text, picture, gallery, file, rich text, choice, and repeater fields.

Lazy Blocks Pro

Build custom blocks and fields

Lazy Blocks Pro extends the Lazy Blocks builder for developers creating custom blocks in the WordPress block editor. Set a block name, icon, and category, add controls for its content, then define its output with custom HTML, PHP, Handlebars, or a template file in the theme. Blocks can be exported and imported for reuse. The builder also works with custom meta fields for selected post types and includes controls such as text, picture, gallery, file, rich text, choice, and repeater fields.

Add fields that match the content

Pro controls let editors select related content and enter structured values. The Posts control searches for and selects posts by post type or taxonomy. Taxonomy searches categories, tags, and other custom taxonomies; Users searches for users by role. Units includes a number input with CSS unit choices, Message displays guidance between controls, and Code Editor inserts code parts with syntax highlighting.

Shape the editing and frontend experience

Control conditions show or conceal fields according to the values of other controls, keeping the block panel focused on relevant settings. Panels and dividers group controls in the block interface.

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. These assets load only when needed. Blocks Preloading displays block previews as soon as the page editor loads.

SEO and multilingual processes

Additional SEO enhancements support content analysis in Rank Math and Yoast SEO. Lazy Blocks also supports WPML: its text controls are compatible with translation workflows. Developers can personalize parts of custom blocks from the backend with PHP filters and actions.

Templates and setup

The older Templates capability can create post templates with predefined blocks. It continues to work on existing websites but is deprecated for future use. For new template work, use the WordPress Template Editor with a Full Site Editing theme.

To create a custom block, set its name, icon, and category, add the required controls, and choose an output method. Preview it in the editor, organize its controls with panels or dividers, then define any needed styles or scripts. PHP output, theme templates, conditions, and custom assets may require consulting the documentation as you build.