-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Make it easier to find and edit the "Home" page in the editor #56244
Comments
Also for reference here is some information on the template hierarchy and how it applies specifically to the "Homepage" of a given site. This was generated during a chat with ChatGPT: In block themes, the determination of what affects the homepage follows a structure similar to traditional themes but with HTML file extensions. Here's a summary:
|
There's definitely some gnarly-ness to address here, so thanks for bringing this up.
I'm not sure we should do this when a static homepage is set. In that case the current behavior (displaying the page name with the Static homepages are handled this way regardless of which template resolves. Side note: there does seem to be a pretty big bug here... if you set a static homepage and add a Front Page template, the page details panel and Inspector should tell you that it (Front Page) will be used, that's not the case. And it gets worse, if you click any of the 'Edit template' flows in the full-screen editor, you get taken to the wrong template. This only occurs in the Site Editor. I'll open an issue. This issue seems most egregious when the homepage is set to display latest posts. That's when the template name (which can be Index, Blog Home, or Front Page) is displayed in the Pages list, with the We could try a static "Home" label as you suggest, but it's worth noting that the 'homepage' isn't technically a page in this case, so to change its appearance the user must edit one of the aforementioned templates anyway. Additionally I see a lot of potential for confusion here. E.g., if Index is labelled "Home" in the Pages list, would it also be labelled that way in the Templates list? What if you then want to add a Could there be a middle-ground, where the page is labelled as "Home", but instead of an edit button in the details panel there's an ellipsis menu with "Edit homepage template" and "Homepage settings" actions? That way it's a bit more obvious that the homepage is template-driven. Especially when coupled with the enhancements planned in #55025. Here's a quick visual: |
@jameskoster Thanks for the detailed response 👍
I'm not convinced. It's still the "Homepage" it's just a specific page is used. I would still vote that most users think the page that resolves when they go to
Again this comes down to being consistent with the nomenclature.
This is 100% what I'm getting at. This is a huge pain point for users. They shouldn't need to understand any terminology or setitngs to be able to edit what shows up when they view
I understand this. However, I really don't think users should need to in order to get to the place where they can edit the homepage contents.
I like this suggestion and your mockup. It means we can always ensure users get to the right place to edit their homepage. It also resolves my requirement to have consistent nomenclature around the concept of "Home" from a user perspective rather than from a WordPress perspective. |
This would be a little strange if the static homepage was titled Home. The menu label would be "Home (Home)". (With a
That might work when Front Page exists, but if the homepage is just a regular page then this would over-complicate an existing UX. I still feel that in the case of a static homepage, the For the latest posts situation I 100% agree – the user shouldn't have to understand the inner workings of the template hierarchy. But since it is so intwined with how the homepage settings work, we just have to work around it as best we can until something like the "dumb template" idea can be implemented. |
😄 I think we could make that one an exception. It would read
I understand - it does feel like it would be sufficient. However, from the recent user testing I've been involved with I've observed the opposite behaviour. Users expect to see the word "Home" and if that isn't there then they have to think - which they shouldn't need to do. By using the word If a given Page is used as the "Homepage" then there's an argument that it's more useful that it's labelled
I'm hoping that what I'm suggesting is a sort of work around, but one that is focused on improving the labelling of the "Homepage" concept within the UI which is currently fragmented and confusing. Are you saying we can't progress any of this relabelling at this point? If so can you help me to understand the roadmap for solving the problems illustrated above? |
@jameskoster Thanks for being willing to dive in here. The explorations you've shared are really helping to flesh this out.
I would agree it doesn't seem that bad at all. Again we can alter the top bar to be context aware and use the word
Yes. I think we could surface those options there like you've shown 👍 We still have the problem of template vs content which is potentially confusing. But improved labelling and what's shown in your mockup would improve things a lot in my view.
To avoid confusion, I was trying to understand if you were saying "no, this won't work". It sounds like that's not the case 👍 |
I kinda think we don't need to better surface the existing reading controls in this block theme era. When you set a page as the front page, rather than editing the home "template" things get so much more confusing. If you want a blog for your homepage, you'd pick a home template with a blog on it. |
I guess the exception to that rule would be if your site is already configured with reading settings? Then it might be useful to have a way to turn them off? Either way they probably shouldn't be something that's a primary action that's given visual prominence. |
@richtabor what about the opposite – static homepage with separate blog page? Doesn't WordPress need to know specifically which page is the "posts page" to generate permalinks etc? I feel like removing the reading settings is linked to the "dumb template" idea. I like that idea a lot, but it's technically challenging considering backwards compatibility. |
Yes. A permalink for the posts page is needed. Perhaps we should be able to set posts page independently from the home page? Which would also apply the blog home details view to that page. I detail this a bit further here. |
I want to confirm the importance of this! I've been observing users creating themes in the Site editor this week, and it seems logical that going to edit the "Blog Home" template would modify the home page. But it doesn't work if you don't have the home page set to show latest posts! I think it's okay that the template labels are different that the file names bound to the template hierarchy. The UX is just too confusing, otherwise. |
To recap the above - there seems to be a consensus that:
|
Yes, if I have the blog set as my homepage, I expect to see it listed in the pages of my site. Why is the label "Front Page" rather than "Home"? |
I'd also expect perhaps the home page to be surfaced as the first page perhaps. |
I've opened an issue for this specific flow here: #60772
Reading settings refer to the "Homepage", so that's an option too. Agree this should be changed.
I agree that 'special' pages should probably given additional prominence, but I'm a little uncomfortable with adding exceptions to the sorting logic. An alternative approach could be to add a generic 'pin row' feature to the data view component. Such a feature could be useful for third party consumers. Special pages could be pinned by default, but the user could also turn it off. |
Coming back to this one, it sounds like an action item for this issue (noting there are many related issues), is: decide on whether to call the badge "Front Page" instead of "Home" or "Homepage". (Home seems good since it's related to the Home link in navigation, and is short.) I wonder if these two issues are best kept separate
@youknowriad any thoughts on "pinning" as an alternative to these special sorting exceptions, which I know have been a pain point for DataViews (re: including 404 and Search as "pages" in the site editor Pages section, would that fit the bill here?) Related: #60772 |
The badge was already updated to read "Homepage" :) There's an issue for pinning rows here. |
Can we then close this one? Outside of making it more actionable, that would then be my instinct. That isn't to dismiss any instincts here, but rather noting that it can always be reopened if need be. |
I think it depends on the outcome of pinning as a feature. If not implemented for any reason then it remains hard to find special pages like the homepage when the list is very long, and we probably want to continue looking for solutions. If pinning is added then this issue can be updated to focus on auto-pinning special pages. |
So Pages in the site editor sort by title. Can we sort by page order (by default), and then give the "Homepage" order 0 so it's commonly at the top? |
I suppose it would need to be order |
A critical user task is editing their homepage and is often regarded as the top priority for users.
However, the current WordPress Site Editor presents challenges in locating the current "Homepage", leading to user confusion which I have observed in recent testing sessions.
The root issue lies in the ambiguity of the terms we utilise to label the "Homepage" within the editor.
Problem Description:
WordPress currently exposes users to the underlying template hierarchy, causing confusion.
Depending on the theme's templates, the homepage may be labeled as "Blog Home" or "Front Page," introducing unnecessary technical terminology to the majority (though obviously not all) users.
Proposed Changes:
Ensure
Home
is always used to refer to the "Homepage".We may be able do this as follows:
Consistent Labeling:
Reduce prominence of Template information:
Warning for "Template Impact":
page.html
orindex.html
), display a small warning notice in the details panelfront-page.html
) so that they can avoid making unintended changes.Rationale:
Related
The text was updated successfully, but these errors were encountered: