Let’s Build a Custom Block in 15 Minutes

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ธ.ค. 2024

ความคิดเห็น •

  • @alreadyghosts7727
    @alreadyghosts7727 ปีที่แล้ว +2

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

    • @WordPress
      @WordPress  ปีที่แล้ว

      We're glad you like it!

  • @kevinwagner5023
    @kevinwagner5023 ปีที่แล้ว +1

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

  • @TomJardine-Smith
    @TomJardine-Smith ปีที่แล้ว

    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?