From 634278c990a31ba8eb04632451102fcf473f44f9 Mon Sep 17 00:00:00 2001 From: Commander1024 Date: Wed, 29 Jul 2026 12:53:46 +0200 Subject: [PATCH] Add theme screenshot and clarify W3 Total Cache lazy loading configuration --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c216c36..5a35653 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,8 @@ A clean, retro-tech inspired **classic WordPress theme** for [commander1024.de](https://www.commander1024.de/). It uses standard PHP templates rather than Full Site Editing templates, while providing a modern Gutenberg authoring experience through `theme.json` and matching editor styles. +![Commander1024 2026 theme screenshot](screenshot.png) + The theme is intended for a traditional personal blog with articles, static pages, category/tag archives, search, comments, and media-rich technical content. ## Scope @@ -43,10 +45,15 @@ It is designed to work with WordPress’s normal post/page workflow and with the - Readable, narrower measure for article body text - Category/tag chips and archive support - Responsive images, galleries, captions, embeds, and code blocks -- W3 Total Cache JavaScript-only image lazy loading is disabled through its public filter so images remain available without JavaScript - Threaded comments with avatars, readable metadata, and non-numbered reply hierarchy - Previous/next post navigation with directional markers +### W3 Total Cache no-JavaScript image compatibility + +W3 Total Cache’s optional Lazy Load feature replaces every image `src` with an SVG placeholder and relies on JavaScript to restore the real source. This prevents image delivery for visitors with JavaScript disabled. + +The theme uses W3 Total Cache’s public `w3tc_lazyload_can_process` filter to disable only that JavaScript-only output mutation. W3 Total Cache’s page cache, browser cache, minification, CDN, and other features remain unaffected. WordPress/browser-native `loading="lazy"` behavior can still be used because it retains a real image `src` and does not require JavaScript. + ### Front page Configure the hero from **Appearance → Customize → Home page video hero**: