-
Notifications
You must be signed in to change notification settings - Fork 92
Reconsider adding a search template #256
Comments
Shouldn't it inherit what's on index.html from just template hierarchy? I agree that TT2 should add a default search template because it should provide good defaults for most possible templates, but I'm thinking this is going to happen to a lot of themes and if the user doesn't add one, the frontend will show the fallback, why doesn't the editor do the same? |
It probably only checks if the template exists, not if it is exists but is blank. |
@MaggieCabrera Would you like to open a new Gutenberg issue for it? I am about to end my work week. |
yep, will do! |
Opened WordPress/gutenberg#36648 and I don't really know what to tag it to be honest |
Thanks for the issue. In the near term, I think adding a |
Sadly no, the Archive Title does nothing when used in a search context :( |
If that's the case, I'm not sure there's much benefit to adding a search template at this point. |
I think the benefit of not having a blank template in the site editor is bigger than the trouble of having to add a heading block? |
We should probably open an issue in core for that. It is closely related to WordPress/gutenberg#36609 and could combine to form an "improving search" initiative. |
Yes, but this should really be fixed upstream in #36648, not just in the theme. Let's leave this issue open to track the issue on our end, but push to have it fixed upstream. |
My worry is that there are a very large number of requests for things that needs to be addressed for 5.9, |
It's true, but we now have a longer timeline, so we'll see. I'll milestone this issue so we can be sure to keep track of it either way. |
In the site editor, when adding a new template, the user has the option to select between search and front page:
If they select search, they are met with a blank template.
I think it would be easier for users to edit an existing template, if users want to make changes to the search results page.
The text was updated successfully, but these errors were encountered: