Support » Plugin: Block Lab » I can blocks!

  • Blocks? OMGWTF… 🥵

    function loadMyBlock() {
      wp_enqueue_script(
        'my-new-block',
        plugin_dir_url(__FILE__) . 'test-block.js',
        array('wp-blocks','wp-editor'),
    …

    (code snippet taken from a comprehensive tutorial by Flywheel.)

    Before you go crazy and lose your mind over complicated code, there is an easier way to create your own blocks for WordPress’ block editor (aka Gutenberg):
    Block Lab provides you with an easy form builder to set up your blocks and the documentation tells you, how you can add custom templates for rendering your new block. Forget about REACT and “learn JavaScript deeply” – this plugin is a big time saver and you only need very basic skills in PHP and CSS.

    Great tool. Strong recommendation.

    • This topic was modified 1 year ago by Jan Dembowski. Reason: Removed link
Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    This is a fantastic review and feedback but please don’t include links as that has been horribly abused in the past by others. 😉

    Ups, only wanted to quote correctly, but I understand that links can be abused. Thanks for the correction and Sorry about the extra work, it caused.

    Where were we? Great tool, that plugin.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘I can blocks!’ is closed to new replies.