-
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
Home page won't use home template #38345
Comments
The front page template takes precedence over the home template, even if you change the reading settings. This is true also for classic themes. So if it exists you would need to delete it. https://developer.wordpress.org/themes/basics/template-hierarchy/#front-page-display |
I realized just now the front page template is showing on my blog page. I'm not sure what "if it exists" means but I don't have this template in my list and it's still showing in the add new button dropdown Is there another way to verify this? Additionally, the home page is not actually USING the front page template (that I don't think exists) - it's using page, so I don't think that this is what is happening |
If it does not exist in the list, then that is not the page that is showing on the front. |
Sorry, please forgive me, I am dyslexic and am getting my "home page" and
"front page" template names confused in places I think.
In simple form:
Home page is set to show static page
Home page template should therefore be used
"Front page" template is not present to does not override this job
The site home page is using the "page" template (not home page template or
front page template)
…On Mon, 31 Jan 2022, 06:18 Carolina Nymark, ***@***.***> wrote:
If it does not exist in the list, then that is not the page that is
showing on the front.
—
Reply to this email directly, view it on GitHub
<#38345 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAVYRMCDQ4BBIOUF4DU66SDUYYSSFANCNFSM5NDCAYLA>
.
Triage notifications on the go with GitHub Mobile for iOS
<https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675>
or Android
<https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub>.
You are receiving this because you authored the thread.Message ID:
***@***.***>
|
The static page uses the template that you set in the block editor, in the template section. |
Related: #38389 |
This text then, is confusing for me: "Displays as the site's homepage, or as the posts page when a static home page isn't set." [home page template description][ Additionally, I am unable to chose the home page template from the dropdown in the page settings, as shown here: I'm still super confused about what the intended functionality is here! |
"Displays as the site's homepage, or as the posts page when a static home page isn't set." I read this as: "Displays as the site's homepage": this template displays for the homepage of the site (I assume post content will display anything from the page editor for that page) "or as the posts page when a static home page isn't set": When the static home page IS set, this is the home page template. When the site displays the posts feed on the home page (and not a static page), this template used there also.. i.e Whatever it is that's on the home page of your website, be it blog feed or static content, then this is the template to edit. but it seems like what is happening is this template only ever covers the posts page, if I made posts the front page it would display there, if posts are at /news then it shows there. |
Ah, the description was changed for the next version of Gutenberg. The new text is "Displays posts on the homepage, or on the Posts page if a static homepage is set" |
OOOOOOH! well that makes a big difference! Okay, so Intended functionality is: Set static home page |
I believe so, yes. |
okay. Has anyone asked if front page could actually have stuff in it rather than be blank? (can't see anything, but tbh I never do when I check!) The actual root cause behind all this is that I don't want to build from scratch, it's too much work. But I do need a little more control over the front page of the site. |
Yes, There are explorations around adding some default content depending on the template |
There's also work being explored around integrating patterns into the experience when you create a new template to make it easier to quickly get started: #36697 I'm going to close this out since this isn't an issue per say but general feedback that has been clarified thanks to the lovely @carolinan Happy to re-open if folks would prefer or if there is some action I'm missing that needs to be taken. |
Description
I have a static page listed under settings > reading as my homepage
However that page is using the "page" template not the home template
When I click edit site from the home page it shows this:
(and indeed the template content is the same as what's showing, also)
I have the default template called home page, which I have edited and is ready to be used. I expected this to show for my home page, and it says it should display in my circumstances
In the page editor this homepage showing as set as front page
The template in page settings is listed as default
There is no option to choose Home template:
I am aware I can choose the front page template, however, I don't want to as this is a blank template I must build the design from scratch. I have checked and find if I add the front page template, it does indeed replace content on the home page with a blank template.
I don't see any way to use the home template for the home page, right now.
Step-by-step reproduction instructions
as above
Screenshots, screen recording, code snippet
No response
Environment info
WordPress 5.9
Please confirm that you have searched existing issues in the repo.
Yes
Please confirm that you have tested with all plugins deactivated except Gutenberg.
No
The text was updated successfully, but these errors were encountered: