Dang, this just gets you rolling with blocks. This is great!
@WordPress Жыл бұрын
We're glad you like it!
@kevinwagner5023 Жыл бұрын
excellent, straight-forward walk thru on building a block. Thanks for sharing!
@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?