Converting a Classic WordPress Theme to a Block Theme: The Details You Don’t Want to Miss

Moving a WordPress website from a classic theme to a Full Site Editing (FSE) block theme can be a great opportunity to simplify site management, give clients more control over their content, and make future updates easier. But if you’ve ever worked on an older WordPress site with years of custom development behind it, you know that changing themes is rarely as simple as installing something new and recreating the homepage.

The visible design is only part of the job. Classic themes often rely on PHP templates, theme-specific functions, widget areas, custom fields, plugins, and CSS that have quietly become essential to how the entire site works. A successful conversion means understanding how all those pieces fit together before deciding what to replace, what to preserve, and what to rebuild.

Here are the details worth looking at before you start.

1. Take Inventory Before You Touch the Theme

The first step is to document what the existing theme actually does.

On an older site, it’s common to find functionality spread across the theme’s functions.php file, custom page templates, a child theme, plugins, reusable content blocks, and snippets added over the years. Some of those features may no longer be needed. Others may be critical to the business.

Before starting the conversion, make a list of:

  • Custom page templates and post-type templates
  • Header and footer variations
  • Sidebars and widget areas
  • Custom post types and taxonomies
  • Advanced Custom Fields (ACF) field groups and relationships
  • Theme hooks and custom PHP functions
  • Shortcodes and reusable blocks
  • Navigation menus, dropdowns, and mobile menus
  • Search, filtering, pagination, and archive layouts
  • Forms, popups, sliders, maps, and other interactive features
  • WooCommerce templates and customizations
  • SEO, analytics, cookie consent, and accessibility features

It’s also worth identifying which functions belong to the theme and which belong to plugins. Content types, custom fields, and other functionality that needs to survive a future theme change generally shouldn’t depend entirely on the active theme.

The goal is to establish a baseline. If something stops working after the conversion, you should know whether it was intentionally removed or accidentally lost.

2. Understand That Templates Work Differently

This is one of the biggest changes in the conversion process.

Classic themes typically use PHP files such as page.php, single.php, archive.php, and header.php to determine how content is displayed. They rely on PHP template tags, WordPress hooks, and functions to generate the page structure.

Block themes use HTML files containing WordPress block markup. Templates are assembled from blocks, and shared elements such as headers and footers are generally handled through template parts.

For example, an older theme might use a PHP function to load a header:

get_header();

A block theme can include its header through a template-part block instead.

That sounds straightforward, but the real work is mapping the existing template hierarchy to the new one.

At a minimum, review the templates needed for:

  • The homepage
  • Standard pages and individual posts
  • Blog and custom post-type archives
  • Search results
  • Category, tag, and taxonomy archives
  • Individual custom post types
  • Author and date archives, where applicable
  • The 404 page
  • Any custom landing pages or specialized layouts

Don’t assume that one general page template will cover every situation. A site with separate templates for services, staff profiles, projects, neighborhoods, or resources may need several distinct block templates to retain its existing behavior.

Also, remember that a template controls the structure around the content. Rebuilding the template doesn’t automatically convert the content inside existing pages into blocks.

3. Pay Particular Attention to Custom Page Templates

Custom page templates deserve their own review because they often contain more than a different arrangement of content.

A classic theme might have a template that removes the sidebar, adds a full-width banner, displays custom fields, changes the header, or inserts a special call to action. Those behaviors may be implemented in PHP rather than in the page content itself.

During conversion, determine which parts of each template should become:

  • A dedicated block template
  • A reusable template part
  • A synced or unsynced pattern, depending on whether its content should stay consistent across instances
  • A regular block layout within the page editor
  • A custom block or PHP-rendered component for functionality that blocks alone can’t provide

The distinction matters. A unique layout used by one landing page may be better managed within that page’s content. A consistent layout used across dozens of service pages may deserve its own template.

The objective isn’t to reproduce every old PHP template exactly. It’s to retain the intended functionality while making the new structure easier to understand and maintain.

Headers and footers tend to be among the most complicated parts of a conversion because they combine design, navigation, and functionality.

A classic theme may generate these areas using PHP hooks, widget areas, custom menus, and conditional functions. For example, a Genesis theme might use genesis_before_header, genesis_after_header, or genesis_before_footer hooks to insert reusable content, calls to action, or custom markup.

Those hooks won’t automatically carry over into a block theme’s template structure.

When rebuilding the header, check:

  • Logo sizing, alignment, and responsive behavior
  • Desktop and mobile navigation
  • Dropdown and nested menu behavior
  • Sticky header functionality
  • Search, account, or utility links
  • Buttons and calls to action
  • Conditional elements that appear only on certain pages
  • Accessibility of the mobile menu and keyboard navigation

For the footer, look for multiple columns, social links, contact information, newsletter forms, legal links, copyright text, and any dynamically inserted content.

A block theme’s template parts are a natural place for shared headers and footers. However, if the old theme used conditional logic to display different headers on different sections of the site, that behavior needs to be planned and tested rather than assumed.

It’s also worth checking the footer on logged-in pages, custom post types, and unusual templates. A footer that works on the homepage but disappears on a specialized template is still a conversion problem.

5. Recreate the Design System in theme.json

One of the biggest advantages of block themes is the ability to establish a consistent design system through theme.json.

In a classic theme, typography, colors, widths, and spacing are often scattered across stylesheets and custom CSS. In a block theme, many of these settings can be defined centrally and made available through the editor.

Useful settings include:

  • Brand colors and neutral colors
  • Font families, sizes, and weights
  • Heading and paragraph styles
  • Content and wide-layout widths
  • Default spacing and block gaps
  • Link and button styles
  • Border radii and other recurring design details
  • Which styling controls content editors are allowed to use

This is more than a way to make the new theme look right. It’s an opportunity to make the editing experience more consistent.

For example, if every page uses the same brand blue for primary buttons, defining that color in the theme palette makes it easier for editors to use the correct value. If the site has a defined content width, configuring it centrally helps avoid individual pages drifting into inconsistent layouts.

However, theme.json doesn’t replace every CSS rule. Complex hover effects, animations, custom layouts, and third-party component styles may still require CSS or additional development.

Be careful when translating the old stylesheet, too. Copying everything into the new theme may preserve unnecessary overrides and undermine the benefits of a more centralized system.

6. Check How Existing Content Will Behave

Switching themes doesn’t normally delete the content stored in WordPress. Pages, posts, images, and custom post-type entries remain in the database. But their presentation can change significantly.

A page built using the classic editor may contain paragraphs, headings, shortcodes, and legacy HTML. Some of it will convert cleanly into blocks; some may remain inside a Classic block or require manual cleanup.

Pay particular attention to:

  • Shortcodes embedded in page content
  • Legacy columns and layout markup
  • Images with custom alignment or sizing
  • Embedded videos and third-party widgets
  • Custom HTML blocks
  • Content generated dynamically by plugins
  • Tables, accordions, tabs, and other specialized components

Don’t assume that because the content is still present, it will look or function the same way.

A useful approach is to test a representative sample of pages before migrating the entire site. Include a simple text page, a complex landing page, a page with shortcodes, and a page containing custom fields or interactive content.

This will give you a better idea of how much cleanup is necessary and whether some content should be rebuilt using native blocks.

7. Plan for Custom Fields and Dynamic Content

Sites that rely on Advanced Custom Fields or similar tools require special attention.

A custom field may store a subtitle, hero image, staff title, project location, downloadable PDF, or relationship to another content type. The existing classic theme may retrieve that data using PHP and display it in a specific location within the template.

For example, a staff profile might pull a person’s title and contact information from ACF fields. A project page might display a client name, completion date, and featured gallery. Simply creating a block template with a Post Title and Post Content block won’t reproduce those details.

Before rebuilding these templates, determine how each field will be displayed.

Depending on the implementation, you may be able to use ACF’s block editor integrations, compatible dynamic blocks, supported block bindings, or custom blocks. More complex rel

Recent Posts