Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
cuemarie opened this issue Oct 17, 2023 · 1 comment
Labels
[Feature] Templates API Related to API powering block template functionality in the Site Editor [Type] Bug An existing feature does not function as intended

Comments

@cuemarie
Copy link

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

@jordesign jordesign added [Type] Bug An existing feature does not function as intended [Feature] Templates API Related to API powering block template functionality in the Site Editor labels Oct 18, 2023
@youknowriad
Copy link
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
Labels
[Feature] Templates API Related to API powering block template functionality in the Site Editor [Type] Bug An existing feature does not function as intended
Projects
None yet
Development

No branches or pull requests

3 participants