How to Optimize Web Fonts in Block Themes Using the theme.json Font Face API
A complete guide to local font hosting in WordPress block themes: configuring the theme.json Font Face API, subsetting WOFF2 files with pyftsubset, preloading c…
Writing · Web Development
Learn tips, tricks, and interesting trends on web design and web development, how to create a stunning website easily, and a lot more.
A complete guide to local font hosting in WordPress block themes: configuring the theme.json Font Face API, subsetting WOFF2 files with pyftsubset, preloading c…
Learn how to eliminate CLS in block themes by enforcing explicit image dimensions, preventing font-swap layout shifts with size-adjust fallbacks, stabilizing Qu…
Learn how to implement native lazy loading for images and iframes in block themes, defer non-critical JavaScript with the WordPress 6.3 strategy API, async-load…
A developer deep-dive into WordPress block theme template parts. Covers file structure, theme.json registration, variations, styling, advanced techniques, and c…
Learn how to map classic WordPress widget areas to block theme template parts — from sidebar-1 to complementary regions, footer columns to wp:columns blocks. In…
WordPress has always offered flexibility in how themes render pages. For years, classic PHP templates ruled the ecosystem. Then Full […]…
Learn how to use the WordPress Interactivity API to build stateful, client-side interactive blocks using real data-wp-* directives, @wordpress/interactivity sto…
Learn how the WordPress block supports system works, how to enable and disable controls per block in theme.json, configure spacing, border, and color supports, …
A practical guide for block theme developers on using PHP and JavaScript block filters to modify render output, adjust block metadata, extend blocks with custom…
A developer guide to wp.blocks.registerBlockVariation: scope, isActive, innerBlocks, and how variations differ from block styles, patterns, and custom blocks. B…
A practical guide to building custom Gutenberg blocks for block themes, block.json metadata, static vs dynamic blocks, editor + frontend code, theme.json integr…
A complete guide to building WCAG-compliant color palettes in block themes: contrast ratios, semantic color naming in theme.json, dark mode style variations, an…