Digging into ACF Blocks for the Block Editor

Опубликовано: 30 Октябрь 2024
на канале: viewSource
2,243
55

Aurooba and Brian dig into ACF Blocks and how taking a design from mockup to built with the Block Editor requires a mindset adjustment. They also talk through the code of a real ACF Block, coding LIVE on the episode and discussing the pros and cons of ACF Blocks versus native blocks – with support from GitHub Copilot, of course.

PART TWO of the conversation is live! Watch here:    • Exploring Different Kinds of Gutenber...  

A full transcript of the episode is available on the website. Watch the video podcast on YouTube and subscribe to our channel and newsletter (https://viewsource.fm/subscribe) to hear about episodes (and more) first!

✨ Helpful links from the episode
ACF Blocks – https://www.advancedcustomfields.com/...
Brian's website – https://briancoords.com/
Aurooba's website – https://aurooba.com

00:00:00 Introduction
00:01:18 Our ACF origin stories
00:03:38 Switching to ACF Blocks from Flexible Content Rows
00:06:32 The pros and cons of JSON
00:08:18 Building blocks without a build process
00:09:20 The two main types of blocks
00:12:34 Why Aurooba never tried ACF Blocks before
00:13:57 The fragility of blocks in the early days
00:15:25 Approaching design atomically instead of as rows and columns
00:20:06 Building a block with ACF Blocks
00:23:25 Enabling Core Supports in ACF Blocks
00:26:11 Live Coding: Adding background color support to the block
00:31:37 Are ACF Blocks here to stay?