WordPress / gutenberg

The Block Editor project for WordPress and beyond. Plugin is available from the official repository.
https://wordpress.org/gutenberg/
Other
10.51k stars 4.2k forks source link

When set to a static page "Edit site" should open the assigned homepage #63784

Open richtabor opened 3 months ago

richtabor commented 3 months ago

When Reading Settings > Homepage is set to "A static page", the "edit Site" WordPress admin bar control opens up the template editor of the homepage, not the actual home page that was assigned.

This can be confusing as the template is not usually representative of your actual homepage content.

The only case where this flow works as expected is when a theme has a front-page.html template. If so, you go to the template editor, but your homepage template is your homepage content.

Visual

https://github.com/user-attachments/assets/ed179017-fe07-42e0-a850-f1388795befb

richtabor commented 3 months ago

If we did https://github.com/WordPress/gutenberg/issues/63785, this issue would be resolved as well—as when a page is set to the homepage, it's also set as the homepage at the top-level of the editor.

ndiego commented 3 months ago

Yeah, I agree. The current flow is not intuitive.