-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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 Editing: Hide page / post title #28564
Comments
That just seems to be the difference between a page template and the blog template? |
Not exactly because we'd want all pages to have Titles except the Home page. Maybe the way to solve it is just to make an option to hide the title on any page? |
The easiest way to address this currently is to just have a customize |
With full site editing, will the reading settings even be needed? Why not just have a |
There's definitely a huge opportunity to streamline an aspect that has remained utterly confusing in WordPress for a long time. The biggest thing to reconcile as we simplify is the nature of the url structure, as it has to be clear how to go for |
Looks good, but maybe it should go in the "Post" tab? |
That's definitely a good idea! In this particular example, the setting would only show in the Block tab when the title was selected. So you're editing the settings for the Title block, rather than changing the page settings to hide the title. Which approach works better? |
I think on the title block is better :) |
I was going to suggest this. Is this idea still being considered? |
Yes, definitely. Though implementation details are not fleshed out yet. |
@mtias would the "Show title" toggle at Post tab be good intermediate solution until site-title block is used in post/page editor? Something like this would still allow modify the title for For permalinks there already is input: I agree that because these inputs would be more hidden, we'd likely see more permalinks based on IDs rather than page names but that might be fine compromise since default experience would be to show the title input at page canvas anyway. |
A better solution would be to make the page title part of the headings block and remove the static heading setting on every page. I don't understand why there are separate blocks for the page header and other headings. This is actually redundant. Users should be able to have multiple H1s on their page if they choose. The ability to have multiple H1s is ideal for single-page websites. The page title should be a separate field in the side panel where people can name the pages. With the new block locking feature coming in 5.9 there really doesn't need to be a separate headings block for H1 headings. |
Is this issue still relevant - with the ability to edit page templates (and remove page title) in FSE? Or do we need it still open for the purposes of TT1 ? |
I think it's a lot less relevant given edit page templates. |
Quoting @mtias above:
One thing to consider is that Page Title is used for the browser |
@scruffian I gave one proper solution to the issue. There should be a separate box added to the sidebar for post/page title with a checkbox for the person to use the first H1 on the page as the post/page title. |
Related #16776 |
I'm giving this one a go, and I've already worked on the sidebar UI.
I tried this template to see the effect it has on |
In FSE, we can create a template with title via Post Title block. However, it's also possible to add the title in Post Content. It would be great to have a mechanism which automatically (no additional actions needed from the user) hides the template title if the title is also added to Post Content. For instance, if the user adds a simple text and images to the content area then the title from template will be shown above the content. However, if the users adds a pattern to the content area and that pattern contains Post Title block then the title from template (shown above the content) will be hidden. |
Is it an editor setting? It feels like a page/post setting, so storing alongside that data makes sense to me. |
I agree with @mtias. Reading through this thread, most of the proposals seem to be around having a toggle of some kind to turn the title on/off. I wonder if we could simplify things even further if when you hit the delete key while on an empty title, we just removed the title. You could always click undo (or command +z) if you deleted it by mistake. Here's a quick mock up: |
@davemart-in that's a cool idea, but we also need a way to get it back if I change my mind later on. |
#27093 seems to cover the concerns raised. Should this issue be closed in favour of that one? |
@carlomanf I like davemart-in 'a approach involving the use of the post title block better than moving the title to the top bar :) |
In my opinion the post title for post, pages or post types should be removed completely from the editor content and should moved to the editor header. Why? The post title can be placed in a completely different position by custom templates. But the current post title is always at a fixed position in posts, pages or post types. That is very confusing. Having the post title in the editor header would be the best solution overall. Additionally, there should be a sidebar option to hide the post title from the template in certain cases. |
Setting title + Whether/how to display titles?Ideal user experience:
User Needs
Proposed UX design which would support all this!Lifecycle of a new page/post in the Block Editor
Inspector Panel > Page/Post Section Redesign
|
@scruffian : There's yet no agreement how to do all this, but the discussion clearly shows that the scope of this issue has widened. The issue title should ideally at least reflect that widened scope (not yet any solution). If you agree with that premise, then please change the issue title to something like: Site Editing: Page Title can be edited / shown / hidden both on Canvas and in Inspector Panel |
@CreativeDive Title in editing bar
|
@porg yes I totally agree, the sidebar panel is an even better position for the title than the editor topbar. The main thing is that the title is no longer in the content area. From today's perspective, this is absolutely the wrong position and confuses the user. |
any update here? |
I agree with what @CreativeDive wrote, isn't there a way to do this even by editing the block theme? It does a similar thing the Astra theme. |
What problem does this address?
In the theme TT1, the title of the home page is hidden.
What is your proposed solution?
It would be useful to have a mechanism to hide a page title without having to fork a template
(edited)
The text was updated successfully, but these errors were encountered: