You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Default rendering mode for pages outside of the Site Editor #68684
#62304/#68549 introduced a new setting to set the editor's default rendering mode for post types. It also updated this setting for Pages; now, they will render the page template + content.
Previously, this value was hardcoded in the Site Editor, but now the setting is shared across the editors.
Needs Decision
Let's decide whether the template-locked should be Pages' new default rendering mode.
Note
The decision concerns the default rendering mode that will ship with WordPress 6.8. After all UX issues have been resolved, the goal is to render pages in template-locked mode in the future.
Pros of template-locked:
It makes the page editing experience consistent between Site and Post editors.
The rendering mode is inconsistent between user roles. Only administrators can view pages in template-locked mode; anyone else gets "old" rendering mode.
Supported modes and what they represent:
post-only Renders post-content blocks, allowing content to be edited in isolation. This is the default value for all post types except pages.
template-locked—This mode renders both the template and post blocks, but the template blocks are locked and cannot be edited. The post blocks are editable. This is a new default for pages.
With that there is greater consistency for users so it is less confusing and the benefits of seeing the template whilst editing outweigh the downsides for me.
But I am very open to changing the default for pages back for now to have less of an impact to start with whilst we continue to improve the UX of the template locked experience
The main thing I want to add is that we should stop considering site editor and post editor as two separate things, they are the same thing. Pages being in the "design/site editor" was just a tactical move that we did in order to iterate on a lot of things (admin design, dataviews...). So for me, there should be only one default rendering mode per post type regardless of where this post type is edited.
Reacted by George Mamadashvili, Jeffrey Paul, annezazu, Neil Murray, Rich Tabor and Jos Velasco
Hey there,
My main concerns about switching to template locked mode are the following:
When you have the block inserter + the panel on the right open, the place to display the content (+ its template) is pretty narrow. I'm afraid it would make it complex to manipulate things on "small" screens (like 13'' screens)
Also, if we have the full template loaded in the page editor, then we'll have to scroll down after the end of the footer/navigation before starting editing content. Not a blocker, but maybe it would be super convenient for end users.
We should maybe also anticipate the end users reaction: "why the hell the full site editor appears when I only want to edit my page's content"?
For now I can't see any issue with existing plugins and other extenders, but worth testing this deeply in the ecosystem, too :)
Note: I'm not specifically against this change, I'm just questioning myself :p
Another concern: maybe add a skip link for accessibility so keyboard users can go directly to the content/page title without having to navigate through all the locked template section without understanding why it's there if they only want to edit a page content.
My first experience with automatic displayed template parts in regular block/post editor:
What the hell ...
Am I wrong here?
I don't want the site editor to open ...
After discovering, that the - very good hidden - option "Show template" could be turned off, it was a relief. And I suspected the whole thing was a simple code error.
Since "Show template" OFF is not persistent, I discovered myself avoiding further tests with Gutenberg if possible, because it is so extremely annoying:
a) Performance: loading header (and footer) each time when I only want editing content consumes a lot of additional time and is a real nightmare!
b) Workflow: having to scroll down to content, each time when page is opened, only to be able to start with my editing is terrible.
c) Confusion: From semi-automatic editing content before, now I'm forced to distinct visually between completely unnecessary displayed Template-parts in the viewport and the relevant content to edit.
d) Error prone: a wrong double click on the wrong element (= template parts) leads to different workflow and maybe also unwanted changes in template.
e) I can't remember a time when I've ever cursed so much about a new WordPress "feature".
Distinction between Admins and other users does not help, because many WordPress sites around the world are operated by single persons who are - of course - admins, but works about 99% with regular page content (in a defined, unaltered template).
If I may make some suggestions:
A) Make "Show template" OFF the one and only default for all users and all post types.
B) Make this option and default persistent => If somebody wants to see the template in regular post editor, it can be activated case by case individually (and - in my opinion - not persistent)
C) There may be good intentions and arguments for remove any difference between post-editor and site-editor in a holistic perspective. But in regular workflow, what concerns millions of WordPress users worldwide, there is a really big difference!
So, please, add additional options, if you want, but don't change a for decades well working workflow and force us all to use a not fitting interface in post editor.
I would like to see the results from more user testing before deciding which mode should be the default.
Is that something that the 6.8 release squad could arrange with the testing team?
I understand that the goal is to unify the editors, but I am not sure that users are aware of and expects this. How about making the switch easier by first sharing the intent, and letting them try the new mode?
In 6.8:
The default mode is post-only.
When the user first edits a page or creates a new page, display a prompt that presents the new mode, with the intent that this WILL be the new default, and ask them if they want to try it.
In 6.9: make the new mode the default.
I'm personally not super fond of deploying something optionally available to everyone, because we don't really have any tool to measure the average end-user satisfaction from that experiment and we don't have so much experience doing so (for example via a poll, a link to forums). Historically, the WP project is rather to take the decision beforehand, after discussion about the pros and the cons of the resulting user experience (Decision not option). It has its negative aspects, but also positive ones :)
I have concerns about this change and basically I agree with #62304 (comment)
I'd liek to add:
Why it's only for pages? Other custom post types may be hierarchical like pages but overall to me it feels an assumption that some post types need a different user experience only becaue the Site editor provides this experience for pages.
As an user, after I click 'Create new pate' I land in the editor and I see too many things 'moving' outside of my control. The inserter opens automatically, the 'Patterns' tab is selected, the editor canvas zooms out. That's too much for me.
As an user, I still want to start by creating the page content.
From an accessibility perspective, setting initial focus on the 'Patterns' tab of the Inserter would be totally confusing.
For all users: the UI doesn't really explain what the current editing mode is and why.
I think I am misunderstanding because pretty much everything in the editor is optional to everyone.
I still think the editors should be unified, that having one editor is the long term goal. I think WP could try to ease it in.
Current. This issue aims to decide whether WordPress 6.8 will ship with template-locked as the default mode for pages. I added a note to the issue description. Feel free to edit or add to it if it's still unclear.
Given user feedback, I agree that it seems like a good idea to revert the default for pages for 6.8, with the intent for it to return when testing results from the plugin are more positive.
Reacted by George Mamadashvili, Fabian Kägy and Neil Murray
I saw a lot of positive feedback for the change personally on X for instance. Reactions like: "finally, we've been asking for this forever". So I think this is one of the things that there's no clear winner. I would say in this situations, the folks that end up showing are potentially on the vocal minority.
That is the difficulty. Experienced users and developers in the community that tweet are also the vocal minority. (And I noted that some did not even know the feature existed until it was the default, it can be introduced better so that people find the setting.)
Is there a compromise?
It could be disabled by default but there could be a persistent option, a user preference to enable it by default?
I am not sure it is a good idea, but trying to compromise and get closer to a decision.
I saw a lot of positive feedback for the change personally on X for instance. Reactions like: "finally, we've been asking for this forever". So I think this is one of the things that there's no clear winner. I would say in this situations, the folks that end up showing are potentially on the vocal minority.
This argument (feedback from users who are potentially on the vocal minority) could be used for the ones who gave positive feedback as well. I'm not sure WordPress should make decisions based on random feedback on xyz social network. It's an important shift and ideally it should be based on research and professional, extended, user testing.
Due to the lack of user testing, there's no actual data this decision can be based on. I would agree with @getsource and other contributors who expressed their concerns on this issue that the most reasonable option seems to be to revert for 6.8 and reconsider for a future release with more data and more users feedback.
I shared some related technical notes in backport PR - WordPress/wordpress-develop#8123 (comment). It mostly suggests using condition to enable it for block themes, until some quirks with hybrid themes are sorted out.
My current personal opinion is that it might be worth shipping the new default behavior for Pages in WP 6.8 betas. We could always revert based on feedback.
it might be worth shipping the new default behavior for Pages in WP 6.8 betas. We could always revert based on feedback.
Personally I wouldn't be opposed to that as long as it is accompanied by a call for testing and share feedback published on Make. That would be a good way to gather some broader feedback. I think there are precedents in the WordPress history and it seems a resonable way forward.
A) About user feedback:
The beta-tester users are not representative for the whole WordPress Community. (Beta testing is merely a task for hardcore fans and developers, but nor for the overwhelming majority of day to day WordPress users.) So, the feedback from Beta is - statistically - not more valuable than developer voices from social networks.
(And how is feed back valued: Does silence mean approval?)
B) About performance:
I made an opening test with a - previous new saved - empty page on Twenty Twenty-Five in Gutenberg and regular WP 6.7.2
And - without exact measurement - the time for complete page opening in editor with included template in Gutenberg compared to regular WP is between double and three times. (How in hell could anyone consider this as a new default for all users?)
C) About the feature itself:
As I understand, the real problem for many - for the new default pleading - developers is not the default itself, but:
They don't know, that the feature already exist. (In Template => Show template)
If they need "Show template" on a regular basis, there is no possibility to make this option persistent.
So, the solution would be:
1.) Information (Not a new default!) about the already existing feature
2.) Option for persistent "Show template" => maybe in Block-editor Preferences?
D) Target of decision:
I suppose there are a few - maybe loud demanding - developers with this special need, but without any doubt a much larger community of regular users, without this need and a clear target: editing regular page content without:
1.) extra load time
2.) any distractions by - for simple page editing - unwanted and unnecessary template parts
3.) confusion by new defaults, which change a regular edition process dramatically
And I suppose, that each decision should consider the needs of regular users at first place. (And a few specialists with special needs can accommodate easier with a new adjustment - like an persistent opt-in for "Show template")
The current state of this feature as I understand it is the following:
We've got this PR ready to land in WP trunk for 6.8 that would register support for template-locked as the default on the page post type whenever there is a block theme that supports block-templates.
As a side effect of the current approach, this also allows any other post type to register support for default rendering mode in a similar way.
I will close this issue now that #68250 and some polishing tasks have been merged. Comments always stay open, so feel free to share any additional feedback.
Activity
fabiankaegy commentedon Jan 15, 2025
Just to share some perspective here, I'm already using the
template-lockedmode for all post types (by manually setting it like shown here: https://gist.github.com/fabiankaegy/abb054d09334b23edd3cd2ec25df7b55)With that there is greater consistency for users so it is less confusing and the benefits of seeing the template whilst editing outweigh the downsides for me.
But I am very open to changing the default for pages back for now to have less of an impact to start with whilst we continue to improve the UX of the template locked experience
youknowriad commentedon Jan 15, 2025
The main thing I want to add is that we should stop considering site editor and post editor as two separate things, they are the same thing. Pages being in the "design/site editor" was just a tactical move that we did in order to iterate on a lot of things (admin design, dataviews...). So for me, there should be only one default rendering mode per post type regardless of where this post type is edited.
audrasjb commentedon Jan 15, 2025
Hey there,
My main concerns about switching to template locked mode are the following:
For now I can't see any issue with existing plugins and other extenders, but worth testing this deeply in the ecosystem, too :)
Note: I'm not specifically against this change, I'm just questioning myself :p
audrasjb commentedon Jan 15, 2025
Another concern: maybe add a skip link for accessibility so keyboard users can go directly to the content/page title without having to navigate through all the locked template section without understanding why it's there if they only want to edit a page content.
marybaum commentedon Jan 15, 2025
I would like to see template-locked come to the post editor, myself.
As an OG post person, it would be great to see template parts in place in posts, but get my hand slapped if I tried to edit them.
burnuser commentedon Jan 16, 2025
Some feedback from a user:
My first experience with automatic displayed template parts in regular block/post editor:
What the hell ...
Am I wrong here?
I don't want the site editor to open ...
After discovering, that the - very good hidden - option "Show template" could be turned off, it was a relief. And I suspected the whole thing was a simple code error.
Since "Show template" OFF is not persistent, I discovered myself avoiding further tests with Gutenberg if possible, because it is so extremely annoying:
a) Performance: loading header (and footer) each time when I only want editing content consumes a lot of additional time and is a real nightmare!
b) Workflow: having to scroll down to content, each time when page is opened, only to be able to start with my editing is terrible.
c) Confusion: From semi-automatic editing content before, now I'm forced to distinct visually between completely unnecessary displayed Template-parts in the viewport and the relevant content to edit.
d) Error prone: a wrong double click on the wrong element (= template parts) leads to different workflow and maybe also unwanted changes in template.
e) I can't remember a time when I've ever cursed so much about a new WordPress "feature".
Distinction between Admins and other users does not help, because many WordPress sites around the world are operated by single persons who are - of course - admins, but works about 99% with regular page content (in a defined, unaltered template).
If I may make some suggestions:
A) Make "Show template" OFF the one and only default for all users and all post types.
B) Make this option and default persistent => If somebody wants to see the template in regular post editor, it can be activated case by case individually (and - in my opinion - not persistent)
C) There may be good intentions and arguments for remove any difference between post-editor and site-editor in a holistic perspective. But in regular workflow, what concerns millions of WordPress users worldwide, there is a really big difference!
So, please, add additional options, if you want, but don't change a for decades well working workflow and force us all to use a not fitting interface in post editor.
ktmn commentedon Jan 20, 2025
List view -> Outline doesn't detect the Heading structure in
template-lockedmode.carolinan commentedon Jan 21, 2025
I would like to see the results from more user testing before deciding which mode should be the default.
Is that something that the 6.8 release squad could arrange with the testing team?
I understand that the goal is to unify the editors, but I am not sure that users are aware of and expects this. How about making the switch easier by first sharing the intent, and letting them try the new mode?
In 6.8:
The default mode is post-only.
When the user first edits a page or creates a new page, display a prompt that presents the new mode, with the intent that this WILL be the new default, and ask them if they want to try it.
In 6.9: make the new mode the default.
audrasjb commentedon Jan 21, 2025
I'm personally not super fond of deploying something optionally available to everyone, because we don't really have any tool to measure the average end-user satisfaction from that experiment and we don't have so much experience doing so (for example via a poll, a link to forums). Historically, the WP project is rather to take the decision beforehand, after discussion about the pros and the cons of the resulting user experience (Decision not option). It has its negative aspects, but also positive ones :)
afercia commentedon Jan 21, 2025
I have concerns about this change and basically I agree with #62304 (comment)
I'd liek to add:
hierarchicallike pages but overall to me it feels an assumption that some post types need a different user experience only becaue the Site editor provides this experience for pages.carolinan commentedon Jan 22, 2025
I think I am misunderstanding because pretty much everything in the editor is optional to everyone.
I still think the editors should be unified, that having one editor is the long term goal. I think WP could try to ease it in.
5 remaining items
Mamaduka commentedon Jan 29, 2025
Current. This issue aims to decide whether WordPress 6.8 will ship with
template-lockedas the default mode for pages. I added a note to the issue description. Feel free to edit or add to it if it's still unclear.getsource commentedon Jan 29, 2025
Read through to catch up on this.
Given user feedback, I agree that it seems like a good idea to revert the default for pages for 6.8, with the intent for it to return when testing results from the plugin are more positive.
youknowriad commentedon Jan 29, 2025
I saw a lot of positive feedback for the change personally on X for instance. Reactions like: "finally, we've been asking for this forever". So I think this is one of the things that there's no clear winner. I would say in this situations, the folks that end up showing are potentially on the vocal minority.
carolinan commentedon Jan 29, 2025
That is the difficulty. Experienced users and developers in the community that tweet are also the vocal minority. (And I noted that some did not even know the feature existed until it was the default, it can be introduced better so that people find the setting.)
carolinan commentedon Feb 12, 2025
Is there a compromise?
It could be disabled by default but there could be a persistent option, a user preference to enable it by default?
I am not sure it is a good idea, but trying to compromise and get closer to a decision.
afercia commentedon Feb 12, 2025
This argument (feedback from users who are potentially on the vocal minority) could be used for the ones who gave positive feedback as well. I'm not sure WordPress should make decisions based on random feedback on xyz social network. It's an important shift and ideally it should be based on research and professional, extended, user testing.
Due to the lack of user testing, there's no actual data this decision can be based on. I would agree with @getsource and other contributors who expressed their concerns on this issue that the most reasonable option seems to be to revert for 6.8 and reconsider for a future release with more data and more users feedback.
Mamaduka commentedon Feb 12, 2025
I shared some related technical notes in backport PR - WordPress/wordpress-develop#8123 (comment). It mostly suggests using condition to enable it for block themes, until some quirks with hybrid themes are sorted out.
My current personal opinion is that it might be worth shipping the new default behavior for Pages in WP 6.8 betas. We could always revert based on feedback.
afercia commentedon Feb 12, 2025
Personally I wouldn't be opposed to that as long as it is accompanied by a call for testing and share feedback published on Make. That would be a good way to gather some broader feedback. I think there are precedents in the WordPress history and it seems a resonable way forward.
audrasjb commentedon Feb 12, 2025
+1 for shipping this partially (only for block themes for now) and publish a call for user feedbackk/testing once Beta 1 is released 👍
burnuser commentedon Feb 13, 2025
Some remarks:
A) About user feedback:
The beta-tester users are not representative for the whole WordPress Community. (Beta testing is merely a task for hardcore fans and developers, but nor for the overwhelming majority of day to day WordPress users.) So, the feedback from Beta is - statistically - not more valuable than developer voices from social networks.
(And how is feed back valued: Does silence mean approval?)
B) About performance:
I made an opening test with a - previous new saved - empty page on Twenty Twenty-Five in Gutenberg and regular WP 6.7.2
And - without exact measurement - the time for complete page opening in editor with included template in Gutenberg compared to regular WP is between double and three times. (How in hell could anyone consider this as a new default for all users?)
C) About the feature itself:
As I understand, the real problem for many - for the new default pleading - developers is not the default itself, but:
So, the solution would be:
1.) Information (Not a new default!) about the already existing feature
2.) Option for persistent "Show template" => maybe in Block-editor Preferences?
D) Target of decision:
I suppose there are a few - maybe loud demanding - developers with this special need, but without any doubt a much larger community of regular users, without this need and a clear target: editing regular page content without:
1.) extra load time
2.) any distractions by - for simple page editing - unwanted and unnecessary template parts
3.) confusion by new defaults, which change a regular edition process dramatically
And I suppose, that each decision should consider the needs of regular users at first place. (And a few specialists with special needs can accommodate easier with a new adjustment - like an persistent opt-in for "Show template")
joemcgill commentedon Feb 22, 2025
The current state of this feature as I understand it is the following:
template-lockedas the default on the page post type whenever there is a block theme that supports block-templates.This feels like a good approach to me while we're in betas:
kjnanda commentedon Feb 25, 2025
@Mamaduka looks like this is still in discussion. Could you please confirm if we are good to get this feature in WP 6.8 release?
Mamaduka commentedon Mar 5, 2025
Thanks, everyone, for the feedback!
I will close this issue now that #68250 and some polishing tasks have been merged. Comments always stay open, so feel free to share any additional feedback.