Skip to content
Sign in

Custom Block Builder – Lazy Blocks

Easily create custom blocks and custom meta fields for Gutenberg without hard coding.

Not scanned yet WordPress plugin 20k installs

Install in

No install steps yet

Follow the steps on the source page.

Custom Blocks Plugin For WordPress
★★★★★

Developers magic wand for WordPress custom blocks. We created Lazy Blocks WordPress plugin, to help every developer get access to the powerful tools they need to quickly run websites based on WordPress block editor (called Gutenberg).

Official Site | Documentation | GitHub

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.

🚀 Easy To Start

This everything you need to deploy your custom block in WordPress editor:

1. Configure Custom Block
Give a name to your custom block, set icon, category, etc.

2. Add Controls
Add control fields like simple text and complex image selectors.

3. Write Output Code
Output code for your custom block with HTML and PHP support.

🌟 Features

  • Custom blocks with output code
  • Custom blocks for posts meta fields
  • Large set of predefined controls
  • Show controls in block content / inspector
  • Multiple output methods allowed
    • Custom PHP
    • Custom HTML + Handlebars
    • Template files in theme folder
  • Export / Import blocks

🔥 Controls

To manage custom blocks attributes you need to use Controls. Lazy Blocks have a large set of controls predefined for you:

  • Basic
    • Text
    • Textarea
    • Number
    • Range
    • URL
    • Email
    • Password
  • Content
    • Image
    • Gallery
    • File
    • Rich Text
    • Classic Editor
    • Code Editor
    • Inner Blocks
  • Choice
    • Select
    • Radio
    • Checkbox
    • Toggle
  • Advanced
    • Color Picker
    • Date Time Picker
  • Layout
    • Repeater
  • Custom Controls read our extensive documentation

🏳️ Multilingual

Lazy Blocks adds a new layer of compatibility for WPML. All text controls of custom blocks are compatible with WPML and ready for translation. https://www.lazyblocks.com/docs/multilingual/

🛠 Built For Developers

Lazy Blocks built by developers, for developers and gives you unlimited freedom to create custom blocks. Furthermore, there are PHP filters and actions to customize every part of your custom blocks from the backend. Possibility to use PHP and theme templates system.

Every UI part should be intuitive for simple custom blocks, but if you want to create something more complex, you may be required to read our extensive documentation.

🔥 Lazy Blocks Pro

The Lazy Blocks plugin is also available in a professional version which includes more controls and features! Learn more about Lazy Blocks Pro

In order to maintain the free version of the plugin on an ongoing basis, and to provide quick and effective support for free, we offer a Pro version of the plugin. The Pro version allows you to:

  • Additional Controls

    • Posts – Search and select posts based on post type or taxonomy
    • Taxonomy – Search and select categories, tags and any other custom taxonomies
    • Users – Search and select users based on user roles
    • Units – Advanced number input with possibility to select any CSS unit
    • Message – Display a helpful message between controls
    • Code Editor – Insert code parts using editor with syntax highlighting
  • Controls Conditions
    Conditionally display/hide controls. In order not to overload your block with a huge list of controls, you can hide some of them depending on the values of other controls.

  • Styles & Scripts
    Add custom CSS and JavaScript to your blocks. Define styles for editor and frontend, and script for interactive frontend functionality. Assets are automatically loaded only when needed for optimal performance.

  • Panels and Dividers
    The Panels and Dividers provides a way to structure controls into groups. It assists in better organizing the block panel UI.

  • Blocks Preloading
    Display blocks preview immediately once the page editor loaded.

  • SEO Enhancements
    Additional support for content analysis in Rank Math and Yoast SEO plugins.

Find much more custom blocks features of Lazy Blocks Pro today!

Written by Joobi from the project's own listing. See the source page

blockscustomfieldsgutenbergmeta
22 Nov 2026
Version 4.6.0 released. Not scanned yet.

4.6.0 – Nov 23, 2026

  • patched security vulnerabilities in build dependencies
  • Pro:
  • added a license screen with your license status, expiry date, and steps to find your key, clarified update messages in the Plugins list, and hid license notices in copies embedded in a theme or plugin

4.5.2 – Nov 17, 2026

  • added a Live Preview button on the WordPress.org plugin page, with a sample Hero block to try
  • fixed a fatal error with WPML when a block has a Repeater inside another Repeater with translatable controls
  • fixed inline styles with a colon or semicolon inside a value, such as a background image URL, being cut in the editor when the block output uses useBlockProps
  • fixed the block builder marking a block as changed and offering Undo as soon as it opens
  • fixed the block builder sidebar staying empty after creating a block on sites with SCRIPT_DEBUG enabled
  • Pro:
  • fixed Undo in the block builder making a block look saved while a collection change stayed unsaved

4.5.1 – Oct 26, 2026

  • fixed style variations in the block builder ignoring typing in the Name and Label fields and staying in the list after removal

4.5.0 – Oct 24, 2026

  • added WordPress 7.2 compatibility
  • requires PHP version 8.3 or higher
  • redesigned the block builder: a block card with the icon, title, description and an editable slug, a control picker laid out like the block inserter, and control settings grouped into Settings, Layout and Behavior
  • improved the block builder controls list: one actions menu per control, double-click to rename, arrow keys to move the selection, and a button to copy the control name
  • added border, background, duotone, sticky position, interactivity, text columns, text shadow (WordPress 7.2), width and height supports to the block builder, all off by default
  • added a block builder notice when style supports are enabled but the frontend output has no useBlockProps wrapper
  • added abilities for AI agents on WordPress 6.9+ to list, read, create and update blocks: lazy-blocks/list-blocks, lazy-blocks/get-block, lazy-blocks/create-block, lazy-blocks/update-block
  • added block context to PHP output, so a block that uses context such as postId and postType receives it in $context
  • added an editor notice when saving block data in the block builder fails
  • improved post editor loading: the icon list loads only when an icon picker opens, and control scripts are a third smaller
  • removed the date_i18n script that loaded on every admin screen; code that enqueued this handle needs to load its own copy
  • security fix: users who cannot edit Lazy Blocks could save block data, preview blocks in the block builder, and activate, deactivate or duplicate blocks
  • fixed the useBlockProps wrapper and InnerBlocks output losing unquoted classes, boolean attributes, Interactivity API directives, JSON values and custom element names
  • fixed block icons losing circle, line and polygon shapes and stroke attributes
  • fixed InnerBlocks content not keeping \1, $1 and backslashes as written
  • fixed Repeater rows not opening with the Enter and Space keys
  • fixed Image, File and Gallery controls picking up a file’s temporary preview while it is still uploading
  • Pro:
  • added editing of a custom slug namespace in the block card
  • added a “Where is my license key?” link next to the license key field
  • security fix: Collections, the Posts and Users controls and license activation did not check user permissions, and showed user emails and names to users who cannot list users
  • security fix: custom CSS could close the tag it is printed in
  • fixed a malformed saved collection breaking the editor for every user

4.4.2 – Oct 12, 2026

  • improved page and editor loading speed on sites with many blocks
  • fixed WPML offering block settings such as select values, colors and block IDs for translation when no control of the block is marked Translate
  • Pro:
  • improved page loading speed on sites with a few dozen blocks or more, which could take several seconds since Pro 4.1
  • fixed a failed plugin update on the Plugins screen holding back the other updates queued after it until the page was reloaded

4.4.1 – Aug 31, 2026

  • changed Lazy Blocks to stay active next to Lazy Blocks Pro instead of being deactivated

4.4.0 – Aug 26, 2026

  • added WordPress 7.1 compatibility
  • added filters for extending how a block renders in the editor preview
  • improved the Gallery control in the block builder, which now previews its images in a grid
  • improved Gallery control loading speed on galleries with many images, fetching image data in one request instead of one per image
  • fixed dragging values in a multi-select control inside the editor canvas
  • fixed Image, File and Gallery values not being read when written as raw JSON in block markup
  • fixed Repeater values not being read when written as a raw array in block markup
  • Pro:
  • added a Rich Text control that edits inline the way a core block does, and rebuilt the wizard presets on it
  • fixed the update notice still offering a version already installed

4.3.1 – Jun 11, 2026

  • improved performance by caching prepared get_blocks() results within a single request
  • fixed Lazy Blocks role capability sync to run once on plugin upgrade instead of on every admin request
  • Pro:
  • fixed SEO frontend preload performance by batching initial block renders in a single request
  • fixed code editor syntax highlighting when system dark mode is enabled

4.3.0 – May 4, 2026

  • added compatibility for WordPress 7.0
  • added support Groups Content and List groups for controls in Inspector
  • fixed Checkbox with multiple options and Save in Meta error
  • fixed possible vulnerability – stronger checks on who can change block code (editor, front-end output, and scripts), so permissions are respected even if something tries to update block meta outside the normal editor
  • fixed displaying unfinished block drafts with an empty slug
  • minor fixes and changes

4.2.1 – Feb 4, 2026

  • fixed context-aware capability check for PHP block rendering (resolves XSS)

4.2.0 – Dec 3, 2025

  • added caching for the get_blocks() function to prevent loading block custom posts on every page load. This fixes the issue with heavy SQL calls on sites using a large number of blocks (20+)
  • fixed URL control inside the ‘content’ placement. Since you asked to keep it working in Content, we restored the control here and now display settings in a Modal – this is a workaround for Gutenberg limitations with URL components inside iframe preview
  • fixed required control check and post locking when a block is rendered inside a preview example
  • Pro:
  • added Link control: https://www.lazyblocks.com/docs/blocks-controls/link/
  • added Token Field control: https://www.lazyblocks.com/docs/blocks-controls/token-field/
  • added Token Field appearance for Taxonomy control
  • fixed incorrect path display for theme template code folder for blocks with custom namespace

4.1.1 – Sep 25, 2025

  • security fix: prevent unauthorized block export access
  • added $content attribute to lzb/block_render/output filters
  • Pro:
  • fixed rendering blocks in widgets screen when Rank Math is active

4.1.0 – Aug 18, 2025

  • !breaking change – in Theme Templates renamed $context to $render_location to use $context for Gutenberg blocks Context feature instead: https://www.lazyblocks.com/docs/blocks-code/relationships/
  • requires PHP version 8.0 or higher, with version 8.3 and above recommended
  • added JS filter for devs: lzb.registerBlockType.args
  • added PHP filters for devs: lzb/register_blocks, lzb/get_blocks
  • fixed content wrapper controls color inheritance from parent
  • fixed losing focus from input fields in the inspector controls when block render preview updated
  • fixed URL control rendering in Content – display fallback Text control
  • disable possibility to add URL control inside Repeater inserted inside Content
  • remove child controls when the repeater control removed
  • minor fixes
  • Pro:
  • added support for block relations and context
  • improved block content retrieval for SEO plugins to enable accurate analysis and added preload to prevent multiple fetches on editor page load. Learn more -> https://www.lazyblocks.com/docs/blocks-code/relationships/

4.0.3 – Jul 7, 2025

  • Pro:
  • fixed incorrect displaying controls in inspector inside different groups

4.0.2 – Jun 26, 2025

  • fixed displaying block border in editor when used repeater in inspector

4.0.1 – Jun 4, 2025

  • restored lzb/block_render/allow_wrapper filter to prevent existing user blocks from breaking, but we now deprecate this hook and display a notice to migrate to the useBlockProps attribute
  • Pro:
  • fixed updater caching issue that sometimes caused Forbidden errors

4.0.0 – Jun 2, 2025

  • deprecated Templates feature. You need to migrate to the WordPress FSE theme and use Template editor natively. Learn more -> https://wordpress.org/documentation/article/template-editor/. Our implementation will still work for existing sites, but it is deprecated for future use.
  • improved Block Builder UI and reworked some option names and placement
  • added possibility to control the block wrapper and remove the block border from the editor https://www.lazyblocks.com/docs/blocks-code/use-block-props/
  • added setup wizard with predefined blocks for quick start your custom blocks https://www.lazyblocks.com/docs/create-block/#setup-wizard
  • added more Supports options: color, layout, shadow, spacing, dimensions, typography https://www.lazyblocks.com/docs/create-block/#block-settings
  • added lzb/register_block_type_data filter to override block registration data
  • removed lzb/block_render/allow_wrapper PHP filter, because user can now provide their own wrapper in block code
  • rename “Styles” to “Style Variations” to prevent collision with block custom CSS options
  • fixed saving Ghost Kit supports settings
  • fixed duplicated block IDs after duplicating 2 and more blocks at once
  • fixed URL control size in Inspector
  • fixed block render if output is ‘0’ string
  • fixed block attribute display in the block builder preview
  • fixed render context when inside block builder preview
  • minor fixes and improvements
  • Pro
  • added possibility to add Styles and Scripts for your block https://www.lazyblocks.com/docs/blocks-code/styles-scripts/
  • added support for Posts Statuses in Posts control settings
  • added support for Meta controls in conditional logic
  • added in SEO plugins proper handling of blocks content, which does not have Editor code output but only Frontend
  • display options in posts and users controls by default when no search text added
  • removed Native Blocks Style feature in favour of use useBlockProps attribute
  • fixed default value in multiple Posts, Taxonomy and Users controls
  • fixed SEO plugins don’t count blocks content length
  • fixed $wpdb->prepare syntax error in Maria DB

3.8.3 – Dec 21, 2024

  • fixed XSS issue in admin blocks list page

3.8.2 – Dec 13, 2024

  • Pro
  • fixed automatic plugins update. In case you can’t automatically update plugin, install it manually https://www.lazyblocks.com/docs/account-and-license/download-lazy-blocks-pro-plugin/

3.8.1 – Dec 10, 2024

  • remove experimental notice under WPML setting
  • minor changes in readme
  • Pro:
  • fixed block crash when conditional logic added to the control which is no longer exists

3.8.0 – Dec 7, 2024

  • added WordPress 6.7 compatibility
  • added better error messages to block Inspector and to the editor toolbar when block has invalid required controls
  • added prompt to remove metadata from post after removing block which contains the control with Save in Meta option enabled
  • added possibility to clear the Gallery control
  • added duplicate row button to Repeater control
  • added wp_get_attachment_image Handlebars helper
  • added possibility to activate/deactivate blocks
  • added support for embed links to the Classic Editor control
  • added Groups for Inspector – Default, Styles and Advanced
  • added reset button to Time control
  • added Multiple option support for Checkbox control
  • improved Repeater control UI
  • improved block duplication process – add copy suffix and disabled block by default
  • improved control with Save in Meta displaying in the editor of post, which does not support custom fields
  • fixed invalid block builder render when there are no blocks registered
  • fixed offsetHeight JS error in block builder preview
  • fixed hardcoded wp-content string in the block builder UI: changed to wp content dir core constant
  • fixed displaying default block icon in blocks list admin UI
  • fixed saving of Repeater row addition and removal in undo/redo manager
  • fixed align class rendering in block when align attribute is disabled
  • prevent changing block post statuses – support only draft and publish
  • rename Constructor to Block Builder
  • removed advanced validation from the URL control to prevent required check fails on relative links or links to applications
  • removed the ability to use URL control within Content, since the Gutenberg no longer renders it correctly here
  • Pro:
  • added possibility to change block slug Namespace and register Collection
  • fixed block editor styles for Code control extension
  • migrate Pro plugin from Paddle to LemonSqueezy

3.7.0 – May 23, 2024

  • improved Required control options – added more validation checks and better error messages
  • fixed Classic control loading in legacy Widgets screen
  • fixed Number/Range controls default value 0 when it is not selected
  • changed lzb.editor.control.isValueValid hook to lzb.editor.control.validate
  • removed Multiline option from RichText control as it is deprecated

3.6.2 – May 1, 2024

  • added error handler to prevent block from breaking in editor when there are invalid HTML in block output
  • fixed get_meta_value_by_block method to not crash if no meta available

3.6.1 – Mar 21, 2024

  • reverted the code for validating HTML as it does more harm than good. In the next update, we will need to add error handlers in JS instead of trying to validate HTML inside PHP.

3.6.0 – Mar 15, 2024

PRO plugin:

  • fixed decoding of WPML encoded strings in conditional logic in editor

Free + PRO plugin:

  • added compatibility for the latest Gutenberg and WordPress 6.5
  • added error handler for invalid HTML. The block will no longer crash, it will display the error message
  • added support for new Ghost Kit extensions
  • changed Classic control to use Modal since we can no longer use the TinyMCE inside editor iframe
  • fixed styles enqueue in editor iframe
  • fixed adding default toggle/checkbox value in the new repeater row
  • fixed react-select styles render inside editor iframe
  • fixed react-select removing items by clicking on X button
  • fixed decoding of WPML encoded strings in repeater, gallery, file and image controls in editor
  • fixed displaying Navigation and Patterns in block Condition selector
  • fixed loading block control scripts in block builder when no blocks registered yet

3.5.1 – Aug 30, 2023

  • fixed JS error in editor in block containing <script> tag in content when preview showed

3.5.0 – Aug 18, 2023

  • added support for WordPress 6.3
  • all blocks now have apiVersion 3, which means that in the latest Gutenberg you will have an iframed page editor
  • fixed block rendering error inside core/group block
  • fixed editor error when view block preview or add a couple of reusable blocks
  • minor changes

3.4.5 – Jul 24, 2023

  • fixed wrong template rendering in Editor after InnerBlocks component used

3.4.4 – Jul 20, 2023

  • fixed InnerBlocks component rendering number values with $ character

3.4.3 – Jul 12, 2023

PRO plugin:

  • fixed JS error in Posts control in editor

FREE plugin:

  • fixed blocks rendering on Widgets screen
  • fixed default value with an empty array element of multi select
  • fixed JS error in multiple Select control in editor when null value

3.4.2 – Jul 1, 2023

PRO plugin:
FREE plugin:

  • fixed Anchor option and ID attribute rendering in the block wrapper (Gutenberg reverted feature for automatic Anchor render in the dynamic blocks)

3.4.1 – Jun 30, 2023

PRO plugin:

  • added higher pr
9 Aug 2018Listed on Joobi from WordPress.org.

Follow this listing's changes (Atom feed)