Opened 4 years ago
Closed 4 months ago
#55035 closed defect (bug) (invalid)
Block themes: Static homepage settings supersedes page template choice
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Milestone: | Priority: | normal | |
| Severity: | normal | Version: | |
| Component: | Editor | Keywords: | |
| Focuses: | Cc: |
Description
After assigning a page for blog posts using "Settings -> Reading -> Posts Page" and then attempting to edit the page (to use an alternate template), the theme ignores user choice of page template and instead assigns templates/home.html. This will likely prove quite frustrating to new users and those reluctant to switch to gutenberg/block theme editing. Thanks
Change History (2)
Note: See
TracTickets for help on using
tickets.
Hi,
The posts page always use either front-page, home and index in this order.
This is decided by the template hierarchy and is not different between the classic themes and block themes.
You can also see that when a block theme is active, and you are editing the page that is set as the posts page, the template can not be changed. The option to change the template is not available.
Because of this, I am closing this ticket.
https://developer.wordpress.org/themes/basics/template-hierarchy/