Repository navigation
Closed
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.
Description
With the introduction of Block Themes in WordPress 5.9, there are a few considerations to take into account when switching block themes or when upgrading from a classic one:
Theme selection
Template and themes decoupling
- Remove coupling of templates, parts, and patterns when switching themes #25071
- Templates: Retain custom templates when switching themes #31954
Template parts
Navigation
- Preserve the navigation on theme switch #38291
- Automatically utilise classic menu when switching from classic Theme #42600
Styles
- Clear block-level inline styles on theme switch and other actions that affect global styling #21045
- Proposal: Standardized block markup, theme.json design tokens, and CSS classes to improve interoperability #38998
- Standardizing required theme CSS Variables #33180
Classic theme upgrading and backwards compatibility
Reacted by okmttdhr, tada
Reacted by annezazu, Hendrik Luehrsen, Ben Dwyer, Jeff Ong and okmttdhr, tada
Metadata
Metadata
Assignees
Labels
[Feature] Site EditorRelated to the overarching Site Editor (formerly "full site editing")[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.[Type] Tracking IssueTactical breakdown of efforts across the codebase and/or tied to Overview issues.
Activity
adamziel commentedon Apr 1, 2022
@priethor these issues do not seem to have been very active recently. Is there any feature that you think could land until Wednesday next week to be included in WordPress 6.0 release? To increase visibility, we can add it to the WordPress Editor 6.0 project board.
priethor commentedon Apr 1, 2022
I don't think anything here is to be expected in WordPress 6.0, but we should start working on theme switching early after beta towards 6.1.
spacedmonkey commentedon Jun 7, 2022
If I am understanding correctly, the theme switching process is changing. This will likely mean a rewrite in react and will require more REST API interactions. Currently the themes REST API is extremely limited, only be able to list single and all themes. The functionality to activate / deactivate / install / delete themes is not part of the REST API. There is an existing ticket #54293. If require for this functionality, let's highlight this early and add to the 6.1 milestone.
I am going to CC @TimothyBJacobs for his input
TimothyBJacobs commentedon Jun 7, 2022
I don't have much to add beyond what you mentioned @spacedmonkey. The REST API endpoints will need to be expanded following the patterns we introduced in the Plugins controller.
If this is going to be a priority for WordPress 6.1, it'd be great to get confirmation of that early in the cycle.
spacedmonkey commentedon Jun 21, 2022
Made a start of the themes REST API - #41836
annezazu commentedon Oct 15, 2022
In light of feedback from the FSE Outreach Program's seventeenth call for testing, I've added #42600 under Navigation above as this feels like an important, high impact item to handle as it relates to navigation and switching from classic to block.
scruffian commentedon Jan 18, 2023
Should we add this?: #47228
jasmussen commentedon Nov 12, 2026
Closing this tracker. Ten of its twelve items are done (theme previews, templates and parts decoupling, navigation preservation, widgets migration and so on), the thread has had no activity since January 2023, and no PR has cited it since. The two items still open each have their own issue and will continue there: #72452 (template parts when switching themes) and #33989 (a default header and footer for backwards compatible loading).
Closing is cheap and reversible. If anyone wants to resume a single tracking list for theme switching, please reopen or open a fresh one.
carlomanf commentedon Nov 12, 2026
A lot of these closed issues have regressed because the template activation experiment that fixed them was removed with no explanation. Very bad optics.
jasmussen commentedon Nov 13, 2026
@carlomanf For what it's worth, I can expand on the template activation experiment at least from my own angle. When I tested it for my own site, I encountered serious usability issues where you could click some templates and they would simply go to the editor, others would require you to first duplicate them. In my testing I ended up with numerous duplicates that were confusing, two templates named "Front Page", on of them named "Front Page (copy)", and it wasn't clear which ones were actually part of the theme (therefore requiring duplication) and which ones were copies, even which ones were in use.
The idea wasn't bad, and I haven't stopped thinking about it, and the problem-space hasn't been abandoned. I've done some mockups myself that allowed pages to have template "roles", which so far hasn't proceeded. But there's also #85402 which is revisiting this exact problem. There's even this PR which tests the approach out.
Aside that, this issue wasn't closed as part of a specific focus on template activation related issues, by the way. I've been doing a larger triage effort to bring down the overall amount of open issues in Gutenberg, and the point is namely to refocus energy to fix longstanding issues, like template activation. Is that fair?
carlomanf commentedon Nov 13, 2026
I agree that template activation had issues, which is why #71735 had been opened to track and fix them. That tracking issue was open for nearly a year before the experiment was removed.
I noticed #85402 earlier and left my thoughts on the related issue #56208, but I don't think it specifically addresses the theme switching issues that were fixed by template activation. I would still like to see those issues fixed, but how can a new plan be discussed if it is not known why the old plan was abandoned?
jasmussen commentedon Nov 13, 2026
I would simply ask on 71735, if you need more context than the user experience issues I gave as feedback on the experiment myself. My old feedback is somewhere in the archive.
But that doesn't mean the theme switching issues it solved shouldn't be addressed, and if there's currently no open issue for it, we should definitely open a fresh one. The reason I closed this tracking issue is because only a single unfixed issue was still tracked here, #72452, and that issue still needs a fix. So if you have capacity, please feel free to open issues. Otherwise I'm happy to help: let me know the top issues you are still seeing, and I'll do a search and/or open issue(s) based on it. We can even reopen some of the issues already linked here as closed: since they experiment was removed, those issues can be valid again. Let me know your preferences.
carlomanf commentedon Nov 13, 2026
Basically all of the issues linked in the description of #67125, some of which are the same ones listed here, would have regressed since that code was removed. I can count a total of 8, excluding the main tracking issue, although I think some are duplicates.
Whether the same issues are re-opened or fresh ones opened I am not fussed, as long as they are not forgotten.