Easy custom blocks using InnerBlocks in Gutenberg

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

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

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

    Very informative and well explained! Looking forward to each new video! :)

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

      I appreciate that! Hopefully I can get to the next one soon!

  • @Mhmm-sr
    @Mhmm-sr 7 หลายเดือนก่อน

    Thank you so much for the tutorial, it helped me a lot with my Gutenberg Block Problems

    • @BrianCoords
      @BrianCoords  7 หลายเดือนก่อน

      Glad it helped!

  • @PaweBystrzan
    @PaweBystrzan 2 หลายเดือนก่อน +1

    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

    • @BrianCoords
      @BrianCoords  หลายเดือนก่อน

      Yep I agree - easily bundling extra CSS/styles with patterns would be huge.

  • @marcjaner9937
    @marcjaner9937 3 หลายเดือนก่อน

    Hey, one question. Isn't a render.php needed when this is used in a production wordpres site? Thanks!

    • @BrianCoords
      @BrianCoords  3 หลายเดือนก่อน

      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.

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

    If Copilot was smart enough to catch trailing commas in JSON, we'd all be done with our projects much sooner :)

  • @reyanshxd2043
    @reyanshxd2043 9 หลายเดือนก่อน

    Hello, is it possible to add multiple Innerblocks in a single block?

    • @BrianCoords
      @BrianCoords  9 หลายเดือนก่อน +1

      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.