-
Notifications
You must be signed in to change notification settings - Fork 4.5k
Open
Labels
[Feature] Template Editing ModeRelated to the template editor available in the Block EditorRelated to the template editor available in the Block Editor[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Priority] HighUsed to indicate top priority items that need quick attentionUsed to indicate top priority items that need quick attention[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Description
Description
The post template editor shows the wrong template for hybrid themes that contain a mix of block and php templates.
Step-by-step reproduction instructions
- Activate a classic theme that has a
single.php
orpage.php
(e.g.twentytwentyone
) - Add a
templates/index.html
file. - Go to add / edit a post or page.
- Verify the template editor renders the
index.html
, instead ofsingle.php
. - Verify the front-end renders the
single.php
.
Screenshots, screen recording, code snippet
Kapture.2024-08-07.at.11.11.50.mp4
Environment info
- WP 6.6.1 with Twenty Twenty-One
Please confirm that you have searched existing issues in the repo.
- Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
- Yes
saas786
Metadata
Metadata
Assignees
Labels
[Feature] Template Editing ModeRelated to the template editor available in the Block EditorRelated to the template editor available in the Block Editor[Feature] ThemesQuestions or issues with incorporating or styling blocks in a theme.Questions or issues with incorporating or styling blocks in a theme.[Priority] HighUsed to indicate top priority items that need quick attentionUsed to indicate top priority items that need quick attention[Type] BugAn existing feature does not function as intendedAn existing feature does not function as intended
Type
Projects
Status
🦵 Punted to 6.9