Support » Plugin: Custom Blocks Constructor - Lazy Blocks » Amazing plugin – if you keep it forever.

  • This is an awesome plugin, really well-done!

    BUT the PHP code that it generates uses its own lazyblocks() function, which means that all the created blocks are forever going to require the plugin in order to work. That makes me nervous, especially since there aren’t that many users of this plugin yet and I’m sure other block generators will be developed eventually. It also seems to be the work of a single person, who clearly is a great person, but who knows if this plugin will exist in 2, 4, 5, 10 years…

    Please consider making the code export tool output just the standard WordPress code so that the blocks will still work if the plugin is deactivated!

    In the meantime, this plugin will be a helpful tool for testing block configurations, but I’ll have to figure out how to get the standard code for them in order to use them in projects.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Head Goldfish


    I’d also add:

    It gives you the option of storing block data as post meta, but (although I haven’t tested this) it looks like you also need to use a custom function (get_lzb_meta()) in order to retrieve the value.

    It would be much more useful if we could use the standard get_post_meta() function to retrieve the value, since again, if this plugin ever stops being supported, all of a sudden all the blocks and data are useless.

    Plugin Author nK


    Thank you for review.

    Yes, the plugin developed by me to use in our premium themes. Source Code available here

    Look at ACF plugin, which generates meta blocks (and Gutenberg blocks since the latest update), which also required installed plugin to show fields, but still, this plugin is super helpful. If you need to generate your own blocks without 3rd-party generators, you need to write it by yourself, this way will give you more possibilities and freedom, but requires coding knowledge.

    Block meta values saved in default way inside WP meta fields (, so you can retrieve it using get_post_meta() without plugin activated. get_lzb_meta() just adds some helpful transformations for specific values from Image or Gallery blocks (string to JSON conversion) –

    Exporting blocks to JS (to work without installed plugin) is not in plans yet. Currently, it is a complex task. Since the Gutenberg constantly changes API, all exported blocks would die after each major update of Gutenberg. By keeping generator code inside our plugin, we can easily fix all users blocks by updating only our plugin.

    Regards, nK.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Amazing plugin – if you keep it forever.’ is closed to new replies.