Sarah Gooding
WordPress theme author Anders Norén has remade his popular Davis theme to support full-site editing. The new theme, Davis Blocks, is sporting the same clean design as its predecessor, and can be used as a starter theme or a lightweight blog theme.
Norén said he built Davis Blocks to be as small as possible, while retaining the same appearance as the original theme. The updated theme has no JavaScript and weighs just 248K, most of which is the PT Serif font files and the theme screenshot. It stands in stark contrast to Norén’s first block theme, Tove, which was loaded with 52K custom CSS.
“The promise of block themes is that eventually, themes won’t need to include any custom CSS at all,” Norén said. “A basic theme, without any custom block styles, should be able to get by just by using theme.json. Core is not there just yet – there are a couple of blocking issues, like alignment styles – but it’s getting pretty close.”
Norén’s introductory post for the theme covers many of the current challenges block theme authors face, such as structural issues like giving alignments to an outer margin on smaller displays, the necessity for overwriting some core styles, the inability to style buttons in the file and search blocks with theme.json settings, and more. He is eager to remove more of the CSS included in Davis Blocks as these issues are resolved.
Although Norén identifies Davis Blocks as a classic blogging theme with an emphasis on typography and long-form articles, it can be transformed into any kind of theme thanks to its support for full-site editing features.  Users can easily customize the header and other templates to add or remove blocks and change the color scheme to suit their own needs.
Davis Blocks is packaged with six template files (404, Archive, Index, Page, Search and Single) and three template parts (Header, Footer, and Loop). Although there has been a lot of buzz around how indispensable patterns have become, Norén opted to forego including any in this theme.
“With the progress being made on the pattern directory, bundling block patterns in the theme folder felt like a step in the wrong direction,” he said. More than 800 patterns are now available in the directory, so it will be interesting to if other block theme authors go in a similar direction or insist on including their own custom patterns.
Davis Blocks is available for free from the WordPress Themes Directory and can also be installed via the admin Add New themes menu. The addition of Davis Blocks brings the directory’s count of block themes to 91.
I’d love to see a business theme or a professional theme built using blocks. Maybe a magazine theme, or something that is actually used. Possibly some complex menus or dropdowns.
Building lightweight blogging themes is great, but not that useful in the real world.
I totally agree – it would be really cool to see more done with blocks as a base than a single column theme. I feel like we have a ton of these ultra-simple block themes, but I’d love to see something in the magazine / newspaper style that is a more practical starting point. I’ve just started using blocks more, and they’re great, but the documentation and examples are still very thin for real-world examples. The theme is gorgeous though for the minimal style.
This will not be possible until proper design tools are consolidated, such as controls for responsive layout and a more complete admin screen navigation block.
It will get there, but there is a lot of ground for the block/site editor to cover until then.
Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.
Enter your email address to subscribe to this blog and receive notifications of new posts by email.

WordPress Tavern is a website about all things WordPress. We cover news and events, write plugin and theme reviews, and talk about key issues within the WordPress ecosystem…
© All Rights Reserved. Powered by WordPress, hosted by Pressable

Affiliate Marketing As A Business


/ Uncategorized

Leave a Reply

Your email address will not be published. Required fields are marked *