-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
Improve the Posts Page edit experience #45099
Comments
Oh my God!!... Two days trying to figure out how to create a posts page! It turns out that all I needed was to create a blank page with any template and set it as the "posts page"! If the the content of the page is irrelevant why to force the user to choose a blog page? It could just use the default home.html or index.html and just let the user choose the page slug. If the user is able to choose the page to use as a blog page then please allow the user to edit the page template. That's a really bad usability experience for any one that wants to use a static page as a starting page and also have a blog page!! |
If I recall correctly it works this way because some classic (PHP) themes would provide template compositions with multiple queries which enable the Posts Page to display the content of that page in addition to the latest posts. This doesn't exist in block themes which is why the experience is so awkward, but we do still need to support classic themes. |
I was extremely confused because of that dialog on how to setup the "Posts page" in such a way that I could use different templates and not just the Since it says that the template cannot be changed. I thought that the only way to use different custom templates would then be to unset the posts page ( I have only understood how it's done when I installed the TT4 theme, and analyzed how the theme implements the different pages (portfolio / business / blogging). So I went to the "Blog Home" template, and then I saw this: I was completely ignoring that it was possible to replace "the content" of the template from there. I think that is easy to visually miss that menu option or to forget about that it even exist. Maybe the option shouldn't be so hidden in the menu, and be in the sidebar below the description. I think I would delete the highlighted message in yellow "The posts page template cannot be changed". That is the confusing part. And I would do something like that: So you can pick, what template to replace. I don't know if this could be done. But It's what would make most sense to me. I also think that this page |
That affordance only appears if the active theme supplies patterns associated with the template, but it might be worth including some in core too. I agree it could be more prominent, and that's what #44582 aims to achieve. We might reuse that design when editing pages that intrinsically resolve to specific templates like Front Page and Home. To connect a dot, I suggested this here as well cc @richtabor. |
I guess this is mostly a duplicate of #29821 |
The posts page is unique in the sense that it will always resolve to display a specific template (either Home or Index). This is detailed in the template popover:
But otherwise the edit experience feels like any other page. You can add blocks and so on, but they will never actually appear on the frontend because the Query Loop block in the Home or Index template will only display posts. You can add a parent page, a Feature Image, manage discussion options... but none of this will have any affect on the display. All of this combines to create a rather confusing experience.
One option to explore would be linking to the Site Editor to edit the relevant template, but there are likely others to explore.
The text was updated successfully, but these errors were encountered: