Blog
-
Block Bindings UI Guide
After hours of piecing together articles and testing things on my own templates, I bring to you my tried-and-true method of using the new Block Bindings UI! Block Bindings API In the simplest terms, the Block Bindings API, introduced in WordPress 6.5, allows blocks to display data from custom fields. Block Bindings UI The Block…
-
Creating the first template parts
If you haven’t done it already, make a templates folder inside your theme folder, and place a blank index.html inside it. Then, if it doesn’t exist, create a parts folder inside the theme folder, and blank header.html and blank footer.html files Your site structure should look like this now: Header and footer files Add the…
-
Setting up theme configuration files
style.css In the root of the directory, if it is not already there, make a file called style.css with the following content: The theme name is the only required part of the file’s header. All available fields are: In classic WordPress themes, the styles reside in style.css. However, in block themes, this file can be…
-
Preparing a new site for full site editing
The webserver will need some preparation for a block theme. The fundamentals of a WordPress site will be the same for everyone.
-
Building a WordPress block theme from scratch
The latest WordPress allows an entire site to be created within the admin interface, including templates, menus, and styles.