Войти
  • 6460Просмотров
  • 2 года назадОпубликованоBrian Coords

ACF Blocks Post Carousel Tutorial

We're building a post carousel block using ACF Blocks. We're doing everything from start to finish, including loading a third-party resource (Flickity) and default Gutenberg supports like colors and alignment. No build process, no fancy JavaScript, just Advanced Custom Fields. 🚨 Free Video Series: 7 Tools for Modern WordPress Development 🚨 👉 👉 Full Transcript/Tutorial - 👉 ACF Docs - 👉 Browse the Full Code: 👉 WordPress Newsletter - 00:00:00 Introduction 00:00:14 Our Plugin Structure 00:00:42 Adding a 00:03:04 Registering our block 00:04:25 Adding a custom field group 00:05:34 Testing our custom field 00:06:09 The file 00:09:31 Adding a CSS stylesheet 00:10:42 Enqueuing JavaScript 00:13:57 Initializing our carousel with JavaScript 00:17:12 Testing on the front end 00:17:36 Using Native Gutenberg supports 00:19:29 Using get_block_wrapper_attributes 00:22:41 Recap