Rural Blog docsAll pages

Block editor support

Rural Blog is a classic theme with full block-editor support. You write in Gutenberg; the site frame comes from the Customizer.

What the theme enables

Feature
Editor styles Your fonts, colours and widths are applied inside the editor, so the canvas resembles the post
Wide and full alignment On every block that offers it — see Wide and full width
Block styles Core’s default block styling is loaded and then refined by the theme
Responsive embeds YouTube, Vimeo and friends scale to their container
Custom line height The line-height control appears on text blocks
Link colour The colour control appears on links
Custom spacing Padding and margin controls on the blocks that support them
Custom units px, em, rem, vh, vw in the spacing and size controls
Custom background Core’s background colour and image, folded into Design → General
Custom logo See Logo and site title
Selective refresh widgets Widget changes preview without a full reload
HTML5 markup For the search form, comment form, comment list, gallery, caption and navigation widgets
Automatic feed links RSS <link> tags in the head
Title tag WordPress manages the document title

Post blocks match the theme’s own listing

This is worth knowing if you build with the Query Loop block.

Every setting under Design → Blog reaches the matching post block as well as the theme’s own archive markup:

Setting Also styles
Post title font and colour Post Title block
Meta font and colour Post Date, Post Author, Post Terms blocks
Excerpt colour Post Excerpt block
Thumbnail border and radius Post Featured Image block

So a Query Loop you assemble on a page and the built-in blog listing look like one theme rather than two. That is the point of that section.

The editor canvas width

The canvas uses theme.json’s content and wide sizes — 620px and 900px — and widens live when you set a post or page to Full width in the Post options / Page options box. See theme.json.

Block patterns

Version 1.4 added seven patterns under a “Rural Blog” group in the inserter, and 1.5 removed them. A page that already contains one keeps it — a pattern is copied into the post when you insert it, so nothing you built comes apart. The post block styling they relied on stays, so a Query Loop you assemble yourself still looks like the rest of the theme.