Zactonz Lite

v1.0.1

A featherweight block theme for publishers who care about page weight. It adds no stylesheet request of its own and downloads no web font by default.

WordPress 6.8+PHP 7.4+

Styles & patterns

Style variations#

Style What changes
Default System font, white ground, dark green accent. Downloads no font.
Dark A dark ground with a light green accent.
Editorial Headings in Instrument Serif, bundled with the theme. The font file, about 15 KB, is fetched only while this style is active.
Ink Pure black on white with heavier headings.

Colours, fonts and spacing can all be changed further under Appearance › Editor › Styles. The overview shows each style.

Patterns#

Found in the inserter under Patterns › Zactonz Lite.

Pattern Use
Hero A large headline, a short paragraph and two buttons.
Three columns of features Three short columns, each with a heading and a paragraph.
Image beside text An image on one side with a heading and a paragraph on the other.
Call to action A boxed heading, a line of text and a button.
Posts list The latest posts with title, date and excerpt.

The header menu never switches to an overlay, which is what lets it work without JavaScript. On narrow screens it wraps onto more rows. A site with a long menu that needs an overlay can turn it on in the Navigation block's settings; the theme keeps WordPress's own navigation stylesheet, so the overlay and submenus render as WordPress intends.

Filters for developers#

The theme defines filters only, no actions, and there are three of them.

Filter Default Effect
zactonz_lite_load_setup true Return false to skip the setup module: text domain, editor style, pattern category, block styles.
zactonz_lite_load_assets true Return false to skip the assets module: the inlined stylesheet and font preloading.
zactonz_lite_enable_font_preload true Return false to stop preloading a bundled font when the active style uses it.
add_filter( 'zactonz_lite_enable_font_preload', '__return_false' );

Add them from a plugin or a must-use plugin, because the module filters are read while the theme loads.