#64159 closed defect (bug) (fixed)
Live Preview Button missing for block themes
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.9 | Priority: | normal |
| Severity: | normal | Version: | 6.8.3 |
| Component: | Themes | Keywords: | has-patch needs-testing has-test-info |
| Focuses: | ui | Cc: |
Description
This is a follow-up to #54578.
In #54578, the Live Preview button was removed from a couple of places for block themes since the site editor preview was not working when previewing from classic themes. It was decided to remove the Live Preview button from block themes until it was implemented in Gutenberg (https://github.com/WordPress/gutenberg/issues/37201) to enable the site editor for non-active block themes. That feature has been implemented, and now Live Preview works for block themes. We should show the Live Preview button for block themes again.
Steps:
- Install a block theme like TwentyTwentyFive
- Go to Appearance -> Themes
- Click on the TwentyTwentyFive theme
- There is only the Active button instead of having Live Preview and Active
- Upload a block theme like TwentyTwentyFive
- After the theme is uploaded, there is no Live Preview button
Attachments (3)
Change History (15)
This ticket was mentioned in PR #10469 on WordPress/wordpress-develop by @ninomiho.
5 weeks ago
#2
- Keywords has-patch added
What this changes
- Shows “Live Preview” for inactive block themes on Themes and Add Themes screens.
How to test
1) Install Twenty Twenty-Five, keep it inactive → Appearance → Themes → Details → “Live Preview” is present.
2) Click it → Site Editor opens with ?wp_theme_preview=<stylesheet>.
3) Upload a block theme zip → success card shows “Live Preview” and behaves as above.
4) Classic themes still preview via the Customizer.
Trac ticket: https://core.trac.wordpress.org/ticket/64159
#3
@
5 weeks ago
- Keywords needs-testing added
PR opened: https://github.com/WordPress/wordpress-develop/pull/10469
Restores the Live Preview button for non-active block themes (as per the ticket).
Testing instructions:
1) Install Twenty Twenty-Five, keep it inactive → Appearance → Themes → Details → “Live Preview” is present.
2) Click it → Site Editor opens with ?wp_theme_preview=<stylesheet>.
3) Upload a block theme zip → success card shows “Live Preview” and behaves as above.
4) Classic themes still preview via the Customizer.
#4
@
5 weeks ago
- Keywords has-test-info added
Test Report
Description
The issue is fixed with the PR mentioned below.
PR tested: https://github.com/WordPress/wordpress-develop/pull/10469
Environment
- WordPress: 6.9-beta3-20251105.102621
- PHP: 7.4.31-dev
- Server: PHP.wasm
- Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.40.1)
- Browser: Chrome 141.0.0.0
- OS: Linux
- Theme: Twenty Eleven 4.9
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.0
Actual Results
- ✅ Issue resolved with a PR.
#5
@
5 weeks ago
Test Report
Description
The issue is fixed
PR tested: https://github.com/WordPress/wordpress-develop/pull/10469
Environment
- WordPress: 6.9-beta3-20251105.102621
- PHP: 8.4
- Server: PHP.wasm
- Database: WP_SQLite_Driver (Server: 8.0.38 / Client: 3.40.1)
- Browser: Chrome 131.0.6778.108
- OS: Linux
- Theme: Twenty Twenty-Three
- MU Plugins: None activated
- Plugins:
- Test Reports 1.2.0
Actual Results
✅ Issue resolved with a PR.
#6
@
4 weeks ago
Just adding some screenshots of the feature test.
Steps:
- Head to WP Admin -> Appearance -> Themes -> Add theme
- Choose a Block theme , install it but do not activate it
- Open Appearance -> Themes -> newly installed theme -> Details & preview
Before the fix, Live Preview button wasn't visible and it is after the fix.
(note: tested in playground).
Before & after:
@ellatrix commented on PR #10469:
4 weeks ago
#11
Thanks @westonruter!

Would love to see this fixed.