Skip to content
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

Site Editor: change label for the Index template to "Default" #57324

Open
creativecoder opened this issue Dec 21, 2023 · 2 comments
Open

Site Editor: change label for the Index template to "Default" #57324

creativecoder opened this issue Dec 21, 2023 · 2 comments
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Enhancement A suggestion for improvement.

Comments

@creativecoder
Copy link
Contributor

What problem does this address?

The Index template is effectively a fallback, used when there are not more specific templates. This behavior makes the label "Index" unspecific and unhelpful without prior knowledge of the template hierarchy.

What is your proposed solution?

Change the label of the template to "Default," so the name better matches the behavior.

@creativecoder creativecoder added [Type] Enhancement A suggestion for improvement. [Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") labels Dec 21, 2023
@richtabor
Copy link
Member

I don't think that "Default" is perhaps the right solution. I towards what is discussed in #56244, to name it the home page.

@creativecoder
Copy link
Contributor Author

Thanks for the link to that issue!

I think Index and Home are almost always different things--all of these would override index:

  • front-page
  • Home page set to latest posts
    • home.php
  • Home page set to a selected page
    • Any specific template for that page (like a custom page template)
    • page.php
    • singular.php

My understanding is that index would be used for the home page only if none of those other templates exist. Based on this chart, it functions like a fallback, the default template if there is not a more specific template to use.

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Feature] Site Editor Related to the overarching Site Editor (formerly "full site editing") [Type] Enhancement A suggestion for improvement.
Projects
None yet
Development

No branches or pull requests

2 participants