Make WordPress Core

Opened 5 years ago

Closed 15 months ago

#55035 closed defect (bug) (invalid)

Block themes: Static homepage settings supersedes page template choice

Reported by: madrooter Owned by:
Priority: normal Milestone:
Component: Editor Version:
Severity: normal Keywords:
Cc: Focuses:

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)

#1 @audrasjb
5 years ago

  • Component GeneralEditor
  • Summary Twenty Twenty-TwoBlock themes: Static homepage settings supersedes page template choice

#2 @poena
15 months ago

  • Milestone Awaiting Review
  • Resolutioninvalid
  • Status newclosed

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/

Note: See TracTickets for help on using tickets.