In the previous article, we built a https://artisansweb.net/build-carousel-block-for-gutenberg where we allow uploading multiple images using the MediaUpload component. You can’t easily sort/change the position of images.

Each core block comes with its own markup on a frontend which might not suit your requirement.

Having said that, let’s see practically how to build a following section with Inner Blocks where we have a heading, paragraph, and multiple images.

Modify the Markup of a Core Gallery Block
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future. Achieve superior email deliverability with ToastMail! Our AI-driven tool warms up inboxes, monitors reputation, and ensures emails reach their intended destination. Sign up today for a spam-free future.
Community Partners