Skip to content

Simple Sites: Site Editor shows a wrong page if the theme has a front-page template #101624

@iamtakashi

Description

@iamtakashi

Context and steps to reproduce

If a block theme has a front-page.html template, the site always shows the template as the site's homepage, regardless of the reading setting—whether the homepage is set to display the latest posts or a static page. The template shows up as the homepage on the front of the site, as expected, but the site editor shows the static page that is set to be the homepage, like the post editor. This creates a discrepancy between the site editor and the front of the site.

Front of the site Site Editor 😕 Reading Setting
Image Image Image

If the homepage is set to display your latest posts, the site editor shows the front page template as "expected."

Front of the site Site Editor ☺️ Reading Setting
Image Image Image

This seems to be an isolated issue in Simple sites. I can't replicate this issue on my local installation or in Atomic sites.

Site owner impact

More than 60% of the total website/platform users

Severity

Moderate

What other impact(s) does this issue have?

No revenue impact

If a workaround is available, please outline it here.

Test with the block themes that include a front-page.html. For example, Nion, Cakely, Bute, etc.

Platform

Simple

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions