Update template home, front-page, and search template descriptions#38132
Update template home, front-page, and search template descriptions#38132jameskoster merged 3 commits intotrunkfrom
Conversation
|
Should it be "Displays posts on the site's homepage, or on the Posts page if a static homepage is set.". ? |
|
Good Q :D Does it need "site" at all?
|
true... |
|
This is a decent improvement, though I do think the difference between "Home" and "Front Page" could be even more clear. I think we could merge this in as a quick improvement, but it might be a good idea to come up with a few other versions for those two, and then run them by users to see what they think those templates are for. |
|
Agreed, those templates are quite problematic in the site editing / block theme paradigm. It is confusing that:
On balance I'm not sure that I still see use cases for the |
|
I agree the home page, home page (template) and front page (template) is very confusing, it's so confusing I actually find it hard to describe my issues (see #38345) I suggest "home page" template needs to be strongly associated with where posts get displayed, and not to do with the home page of a site specifically. It could be posts page or posts archive or just posts. Something like Posts page |
|
Yep these are difficult to get right, and as we add more template-centric UI to the site editor we'll no doubt revisit them again :) I think the home template is intrinsically linked to the confusing homepage settings in WordPress settings. Particularly the "Posts page" option that is enabled when a static homepage is set. This "page" does not behave like any other page:
We can probably do a better job of linking these concepts. |
|
It looks like these changes still need to be backported to WordPress core. |
|
Changes will get backported to WP core with WordPress/wordpress-develop#2534. |
Home
Before: "Displays as the site's home page, or as the Posts page when a static home page isn't set."
After: "Displays posts on the homepage, or on the Posts page if a static homepage is set.".
Fixed a couple of small typos and hopefully made the description a little clearer.
Front-page
Before: "Displays as the site's home page."
After: "Displays the homepage."
Reading settings use "homepage" rather than "home page". This is just a consistency tweak.
Search
Before: "Template used to display search results."
After: "Displays search results."
Similarly, this is a consistency adjustment. All other descriptions read "Displays..." rather than "Template used to display...".