14+ years building on WordPress / Replies in under 5 hours
Page Builders & Theming 4 min read · Updated July 2026

How to Build High-Performance Block Themes in WordPress 6.5+

AK
Ajay Khandal
WordPress Developer
How to Build High-Performance Block Themes in WordPress 6.5+
TL;DR

WordPress 6.5 improves Full Site Editing with better global styles, refined block settings, and performance optimizations, making it easier to build block themes that are fast as well as fully customizable from the editor. Unlike traditional themes, block themes let you edit every part of the site, from headers to footers, without touching template files directly. This guide walks through building a block theme that takes advantage of these 6.5+ features for speed and usability.

WordPress is currently on version 7.0, but the block-theme foundations that make a fast Full Site Editing (FSE) build possible were locked in back in WordPress 6.5: better Global Styles, refined block settings, and the template-part structure everything since has built on. This guide covers building a block theme that’s actually fast, using techniques that still hold up on 7.0+.

What Are WordPress Block Themes?

Block themes are WordPress themes built entirely using blocks, which are modular components of content and design. Unlike traditional themes, block themes leverage the block editor and Full Site Editing (FSE) capabilities, allowing users to customize every part of their site, from headers to footers, directly within the WordPress interface.

WordPress 6.5 made block themes noticeably more robust: better template management, richer block settings, and real performance work under the hood. Those gains carried straight through to 7.0.

Block Theme Features That Started in WordPress 6.5

WordPress 6.5 introduced several features that block themes still rely on today:

  • Improved Global Styles: Fine-tune typography, colors, and layouts using an updated Global Styles interface.
  • Enhanced Block Editor: Tools for customizing blocks, including block locking and advanced controls.
  • Template Parts: Better organization and management of reusable components like headers and footers.
  • Performance Boosts: Optimizations that reduce load times and improve rendering speed.
  • New Design Tools: Additional options for gradients, spacing, and layout settings.

Step-by-Step Guide to Building High-Performance Block Themes

Workflow diagram for building WordPress block themes
Visualizing the workflow for creating WordPress block themes.

1. Start with a Solid Base Theme

Begin by choosing a starter block theme. WordPress’s own default theme, currently Twenty Twenty-Five, is a solid, well-maintained foundation. WordPress ships a new default theme most years, so use whichever one is bundled with your install. For a bare-bones starting point instead, there’s also the community Theme Experiments repo.

2. Optimize Your Theme for Speed

Performance is crucial for user experience and SEO. To ensure your block theme runs smoothly:

  • Minimize CSS and JavaScript files using tools like CSSNano or Terser.
  • Lazy-load images and videos below the fold.
  • Use server-side caching and a CDN like Cloudflare.

3. Use Custom Template Parts

Template parts let you build reusable blocks for site-wide elements like headers, footers, and sidebars. Once you’re comfortable with template parts, block patterns and InnerBlocks are the natural next step for turning repeated layouts into reusable, editable components instead of copy-pasted markup. Here’s a basic template part definition:

{
  "templateParts": {
    "header": {
      "title": "Site Header",
      "area": "header"
    },
    "footer": {
      "title": "Site Footer",
      "area": "footer"
    }
  }
}

Define these components in your theme.json file for better modularity.

4. Leverage Global Styles for Consistency

Global Styles enable you to define consistent typography, colors, and layouts across your theme. Customize these settings in your theme.json file:

{
  "settings": {
    "color": {
      "palette": [
        { "name": "Primary", "slug": "primary", "color": "#005f99" },
        { "name": "Secondary", "slug": "secondary", "color": "#ffcc00" }
      ]
    },
    "typography": {
      "fontSizes": [
        { "name": "Small", "slug": "small", "size": "16px" },
        { "name": "Large", "slug": "large", "size": "24px" }
      ]
    }
  }
}

5. Test Your Theme Extensively

Before releasing your theme, test it across different devices and browsers. Use BrowserStack for cross-browser testing and Google PageSpeed Insights to check real performance numbers, not assumptions. Run an accessibility pass too, with axe DevTools or WAVE, before you call the theme done, not after a client or user flags a problem. WordPress’s own accessibility-ready theme requirements are a solid baseline to test against even if you’re not submitting to the theme directory.

Best Practices for High-Performance Block Themes

  • Keep Dependencies Minimal: Avoid bloated libraries and only include essential dependencies.
  • Use Lightweight Blocks: Prefer native WordPress blocks over third-party ones to reduce load times.
  • Optimize Images: Compress images using tools like TinyPNG.
  • Enable Caching: Implement caching mechanisms for faster page renders.
  • Follow Coding Standards: Write clean, compliant code to ensure maintainability and scalability.

Comparison: Block Themes vs. Traditional Themes

Feature Block Themes Traditional Themes
Customization Full Site Editing Limited to Customizer
Performance Optimized for modern web Varies based on implementation
Learning Curve Moderate Low

Conclusion

Block themes and Full Site Editing are the default way to build WordPress themes now, not the experimental option they were in 2024. The techniques in this guide, lean templates, tuned Global Styles, minimal dependencies, hold up whether you’re on WordPress 6.5 or the current 7.0 release.

If you’re still weighing a custom block theme against a page builder, this 2026 comparison breaks down when each makes sense. And if you want expert help building one, hire me, Ajay Khandal, to build a block theme tailored to your needs.

Block-level development pairs naturally with block themes, if you want to extend the editor itself, see how to build a custom Gutenberg block from scratch. And once your block theme is in place, the natural next step is exploring the Full Site Editing revolution for zero-bloat block themes.

Frequently asked questions

No. WordPress 6.5 added the Global Styles and template-part improvements this guide covers, but every version since, including the current 7.0 release, includes them too. Any WordPress install from 6.5 onward supports building a full block theme.

Not automatically. Block themes cut some PHP template overhead, but a bloated block theme with heavy custom blocks and unoptimized images will still load slowly. Speed comes from what you build, not from the block theme format itself.

Yes. Block themes rely on theme.json and block markup for structure, but you can still register custom blocks, filters, and PHP functionality through functions.php exactly like a classic theme.

A block theme is the theme itself, built from blocks instead of PHP templates. Full Site Editing (FSE) is the WordPress feature that lets you edit that theme, headers, footers, and templates, directly in the block editor.

Twenty Twenty-Five, the current default theme at the time of writing, is a solid, well-maintained starting point. WordPress ships a new default theme most years, so use whichever one is bundled with your install and strip out what you don't need.

AK

Written by Ajay Khandal

WordPress Developer — building, fixing and speeding up WordPress sites.

Work with me →