Let’s Build a Custom Block in 15 Minutes

Block development can be challenging, but getting started with block development couldn’t be easier. In the past few years, WordPress contributors have created tools to simplify the process and make building blocks more accessible to those without advanced knowledge of JavaScript and React. Coupled with core components, native block supports, and a bit of guidance, every WordPress developer can add custom blocks to their repertoire. To demonstrate, let’s build a custom block from scratch in under 15 minutes. Start the clock!
---
View this video and others on WordPress.TV: wordpress.tv/2022/09/24/lets-...

Пікірлер: 5

  • @kevinwagner5023
    @kevinwagner502311 ай бұрын

    excellent, straight-forward walk thru on building a block. Thanks for sharing!

  • @alreadyghosts7727
    @alreadyghosts7727 Жыл бұрын

    Dang, this just gets you rolling with blocks. This is great!

  • @WordPress

    @WordPress

    Жыл бұрын

    We're glad you like it!

  • @user-qh1dy1tk5w
    @user-qh1dy1tk5w8 ай бұрын

    I have a couple of questions if anyone can point me in the right direction? 1) My version of the "Hello Dolly" block from this tutorial works on the front end, but not in the block editor. On the front end I see the lorem ipsum that I have being returned from the function, but in the editor I see the "hello from a dynamic block" text that comes with the create block package. 2) What if I don't want to create this as a plugin? If I'm building a theme, for example, and I want to create blocks that come with the theme - how would I adjust the above tutorial to create and register the block from the theme instead?