Skip to content

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

Closed

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

Activity

  1. added
    [Type] Bug
    [Feature] Templates API
    on Oct 18, 2023
  2. youknowriad commented on Nov 24, 2023

    @youknowriad
    Contributor

    This has been resolved in #56418

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    [Feature] Templates API[Type] Bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions