If you have been wondering how to learn everything you can about block theme development, then this post is for you. The links in this post have been collected from official WordPress sources and categorized to help you learn more about block themes and related topics.
Whether you build sites mostly from the site and styles editors or you develop bespoke and custom themes from the ground up there are always new things to learn. Read on to learn all about block themes.
Table of contents
Legend
π½οΈ Video
π Learning
π Documentation
π» Dev Notes
π οΈ Tool
π° Post
General block theme development
Interested in learning what block themes are and how to begin creating them? Start with these links that will cover the basics:
- π Block themes (Theme Handbook)
- π Full Site Editing
- π Types of Themes
- π½οΈ The Future Of Themes: Designing for the Block Editor and Beyond
- π A Developer’s Guide to block themes β Part 1
- π A Developer’s Guide to block themes β Part 2
- π½οΈ A new era of WordPress themes is here: block themes
- π οΈ Create Block Theme Plugin
- π Streamline your Block Theme development with the Create Block Theme plugin
- π½οΈ Damon Cook: Block Theme Builders β Figma to block theme
- π½οΈ Daisy Olsen: Build your first block theme workshop
Gradual adoption of block theme features
It’s not always possible to change an entire workflow or process when a new feature is added. Here are some ways to add features to existing workflows a little at a time:
- π Using theme.json with classic themes
- π Converting customizer settings to block patterns
- π Converting a classic theme to a block theme
- π Using Block Template Parts in classic themes
- π» Block-based βtemplate partsβ in traditional themes
Theme file structure
Understanding the general WordPress template hierarchy is a key component of building a WordPress theme. These links get into the details of what you should know:
- π Template Hierarchy
- π Block theme setup
Templates and parts
Templates and template parts are at the heart of block themes. These links are a great way to learn more about these important files:
- π Templates and template parts
- π» Introducing the template editor in WordPress 5.8
- π WordPress Theme Template Tour
- π° Demystifying Home and Posts Templates in WordPress theme development
theme.json and style variations
With the small but mighty theme.json structure, you can control and refine the experience of the block editor. There are so many possibilities and things to learn. Here are some links to get you started:
Basics
- π Introduction to theme.json
- π» Introducing theme.json in WordPress 5.8
- π Theme.json
- π Global Settings & Styles (theme.json)
- π Living Reference for theme.json
- π Migrating to Newer Versions of theme.json
- π» A roster of design tools per block
- π Using Schema with WordPress theme.json
- π Manage your block theme fonts with Create Block Theme
- π» Global Styles variations in WordPress 6.0
Advanced
- π» Styling elements in block themes
- π» Reference Styles values in theme.json
- π° Using the box shadow feature for themes
- π» Filters for theme.json data
- π» Updated editor layout support in 6.1 after refactor
- π° Leveraging theme.json and per-block styles for more performant themes
- π» Introduction of presets across padding, margin and block gap
- π» Fluid font sizes in WordPress 6.1
Markup / selectors / custom CSS
At the end of the day, a WordPress site is mainly comprised of HTML and CSS. These links will get you up to speed on these topics:
- π½οΈ Hallway Hangout: the future of CSS in block themes
- π° A walk-through of layout classes in WordPress 6.1
Block patterns
With so many possibilities to create complex groups of blocks that can be placed quickly, using block patterns. It’s worth checking out these items:
- π Block patterns
- π» Page creation patterns in WordPress 6.0
- π» New features for working with patterns and themes in WordPress 6.0
- π° Creating Themes from a Pattern-first mindset
Block locking
If you need to create a controlled editing experience, block locking may be the right thing to use:
- π Curating the Editor Experience
- π» Content-only editing and other locking updates
- π» Block Locking Settings in WordPress 6.0
Theme distribution
You’ve created your theme. Congrats! Now share it with the world. These links will get you on your way to submitting your theme to the WordPress theme directory:
- π Upload a Theme to the WordPress Repository
- π» Introducing βUpdate URIβ theme header in WordPress 6.1
But waitβ¦there’s more!
Here are some additional block theme-related topics you might want to learn more about:
- π Child Themes
- π» Block-styles loading enhancements in WordPress 5.8
- π Accessibility and Block Themes
- π Internationalization and Block Themes
- π» Theme export in WordPress 6.0
Props to @bph, @webcommsat, @mburridge and @greenshady for reviewing this post
Leave a Reply