Skip to content

Front Page Template: With Static Homepage set under Settings > Reading, site editor defaults to static page, not Front Page Template #55431

@cuemarie

Description

@cuemarie

Description

If I set a static homepage on a site that uses a theme with a Front Page template, the editor defaults to the static page upon opening, even though the Front Page template is still the site's homepage.

The description in the editor of the Front Page Template reads:

Displays your site's homepage, whether it is set to display latest posts or a static page. The Front Page template takes precedence over all templates.

Step-by-step reproduction instructions

  1. Activate a theme like Kigen
  2. Open Settings > Reading and set any static page as the homepage
  3. Open Appearance > Editor (Observe: site editor opens to static page)
  4. In a new tab, check the site itself (Observe: front page template is still the site's homepage)

Screenshots, screen recording, code snippet

Editor showing static page

Screen.Capture.on.2023-10-17.at.16-07-34.mp4

Site's Live Home Page still Front Page Template:

Markup on 2023-10-17 at 16:26:31

Environment info

  • WordPress 6.3.2
  • Gutenberg 16.8.1, 16.7.1

Gutenberg version 16.6.0 does not show the static homepage in the editor, but the Front Page Template, as expected.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Templates APIRelated to API powering block template functionality in the Site Editor[Type] BugAn existing feature does not function as intended

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions