Why are the "pages" for Homepage and Posts Page editable? #54483
rleecrewmp
started this conversation in
Developer Experience
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
After some research, I've come to understand that in order for the Blog Home (templates/home.html) to have any effect when the Front Page (templates/front-page.html) template exists is you need to set the Homepage and Posts Page under Settings > Reading.
This requires you to have a "Home" page under pages but that seems redundant since you're able to edit how the Home Page looks directly from the template. There's no need for the template to allow for Post Content because no other page can use this template. Same goes for the Blog Home template.
Now I'm forced to include the
core/post-content
block in my Front Page template or it's simply confusing to the user editing the actual page. It allows the theme to determine what comes before and after the Post Content but why do we need to template-ize that if it's not being used for any other page?All I wanted to do was set the permalink for the Posts Archive (Blog Home) template. When the "Your homepage displays" setting is set to "Your latest posts," the Front Page template automatically kicks in for the root path (www.example.com/) but I don't know how to get the Blog Home template to kick in unless I set it to a static page.
Maybe I'm missing something?
Beta Was this translation helpful? Give feedback.
All reactions