After a year I think it would be nice to have option to make a pattern - just like you made a custom block, but pattern, save custom css inside pattern and one click option to convert pattern to block. Sometimes in the past I used CBB plugin (Content Blocks Builder) - it has some nice workflow to create blocks from blocks, patterns etc, but unfortunately not in core way. Hope WP core team will move in this area. As always - great video tutorial, Best, Paul
@BrianCoords17 күн бұрын
Yep I agree - easily bundling extra CSS/styles with patterns would be huge.
@seiuwatches Жыл бұрын
Very informative and well explained! Looking forward to each new video! :)
@BrianCoords Жыл бұрын
I appreciate that! Hopefully I can get to the next one soon!
@Mhmm-sr5 ай бұрын
Thank you so much for the tutorial, it helped me a lot with my Gutenberg Block Problems
@BrianCoords5 ай бұрын
Glad it helped!
@marcjaner99372 ай бұрын
Hey, one question. Isn't a render.php needed when this is used in a production wordpres site? Thanks!
@BrianCoords2 ай бұрын
There are two types of blocks - dynamic blocks that use a PHP file to render the final block, and static blocks, which save the final markup in the content and don't need any additional PHP files to show up. This examples uses a static block.
@PaulMcCannWebBuilder11 ай бұрын
If Copilot was smart enough to catch trailing commas in JSON, we'd all be done with our projects much sooner :)
@reyanshxd20438 ай бұрын
Hello, is it possible to add multiple Innerblocks in a single block?
@BrianCoords8 ай бұрын
No, sorry - only one set of InnerBlocks per a block. You could have two custom blocks, each with their own InnerBlocks, but that's maybe getting a little complicated.