As of WordPress 5.9, block themes are now a part of the WordPress ecosystem as a new type of theme built with and for blocks.
What is a block theme?
A block theme is a theme that uses blocks for all parts of a site, including navigation menus, header, content, and site footer. These themes are built for the newest features coming to WordPress that allow you to edit and customize all parts of your site. This allows you to switch up key parts of your theme without ever needing to change themes.
With a block theme, you can place and edit blocks outside your content using the Template Editor or Site Editor. You can use blocks in templates provided by a theme or plugin. For example, an archive page or a 404 page. You can also create custom templates.
For general information about themes, see the support article What is a theme?
How do this impact widgets and widget areas?
Instead of widgets, a block theme relies on blocks. This means that you can place blocks anywhere you might have previously wanted widgets to appear.
How does this impact the Customizer?
The Customizer is not available in block themes unless you are using a plugin or theme that requires it to be activated. This is because you can make the same changes you might make with the Customizer with blocks. For example, there are now blocks for the site title, tagline, and site logo. You can also select colors for your website in the Styles setting by going to Administration Screen > Appearance > Editor (beta).
How to find block themes
You can find block themes in the WordPress theme directory by selecting Block Themes in the toolbar. This automatically takes you to a filtered view of all themes with Full Site Editing functionality.
For general information about how to get new themes, see the support article Get new themes.
What options are available with block themes?
After activating a block theme, more tools and features will be available to you including the following:
- Site Editor: an editor that allows you to edit all parts of your site, navigate between templates, and more.
- Styles: a feature that allows you to customize your site, including individual blocks, as much as you’d like with different colors, typography, layouts, and more.
- Templates: edit, create, and manage templates that a page or post uses.
- Template parts: a way to organize and display groups of blocks as part of a block template mainly for site structure, like Headers and Footers.
- Theme blocks including the Navigation Block, Query Loop block, and more.
Using these options you can create the desired look and feel of your site without switching themes as often.
When should I use a block theme?
Block themes were introduced in WordPress since the 5.9 release. If you like exploring new things, enjoy building content with the block editor and like to have full control over all parts of your site, block themes are a great solution for you.
If you’re comfortable doing so, it might help to set up a test site to try out a block theme first to see if it will work for you.
How are block themes different from classic themes?
Block themes are built for the newer functionality in WordPress and allow you to use blocks to edit all parts of your site, including easier ways to quickly customize everything from your background colors to font sizes for all Heading blocks etc. Comparatively, classic themes are built with PHP templates, functions.php and more that include features like Widgets, a dedicated Menus section, the Customizer, and more. Classic themes do not work with the Site Editor.
Resource Links
- Learn WordPress course on Simple Site Design with Full Site Editing
- Build a block theme
Changelog
- Update 2023-04-24
- Add link to building a block theme
- Update 2022-07-14
- Add section on how to find block themes
- Created 2022-01-05