- Overview
- Transcript
1.1 Introduction
In this course, I'll show you how to create custom blocks for WordPress Gutenberg without coding any JavaScript. Let's get started!
1.Introduction2 lessons, 04:13
1.1Introduction00:48
1.2Why Create Blocks Without JavaScript?03:25
2.Registering a Block2 lessons, 11:00
2.1Setting Up the ACF Plugin04:43
2.2Registering a Gutenberg Block With the ACF API06:17
3.Adding Fields to the Block2 lessons, 08:05
3.1Creating a Field Group and Adding Fields04:16
3.2Adding Block Settings03:49
4.Outputting the Block3 lessons, 25:20
4.1Setting Up the Block Class and Values08:17
4.2Writing the HTML06:14
4.3Adding the Block to a Post or Page10:49
5.Conclusion1 lesson, 02:16
5.1Conclusion02:16
1.1 Introduction
Hello, and welcome to this Tuts+ course on creating Gutenberg blocks in WordPress without JavaScript. My name is Rachel McCollin. And I'm gonna show you how you can create your own Gutenberg blocks without writing a word of JavaScript, using the Advanced Custom Fields plugin. So we'll write a plugin that creates a block that we can use to create a field group, and it will be a type of field group in Advanced Custom Fields. We'll then add that to a page, which you can see here, with an image, a title, some text, and a link, and then we'll output it to our homepage. And we'll spend some time styling it and getting it to look good. Watch this course, and find out how to create blocks using PHP and not JavaScript.







