-
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
[Full Site Editing]: Expand the templates that can be added - specific pages #42138
Conversation
Size Change: +36 B (0%) Total Size: 1.25 MB
ℹ️ View Unchanged
|
@jameskoster this is the default template in your case. You can check by trying to edit the default template. |
Then shouldn't I also see Side note, this highlights why we need to fix #41449 😅 |
@jameskoster do you think that is something we can handle separately in a different PR? |
No strong preference on where the work happens, but I'm increasingly of the opinion that 41449 is a blocker for the template expansion work going into a wp release. |
I agree it should be separate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! It's good to see the config model paying off, regardless of any future improvements we discussed.
What?
Part of: #37407
This PR expands the templates that can be added by handling templates for specific
pages
.How?
It uses the same design for custom post types, taxonomies etc.. that are already merged.
page
and we have available pages that don't have a specific template created, it will show a modal with two options to create either of them. You can search through the available pages to create a specific template for it.page
and we don't have available pages that don't have a specific template created, clicking the menu item will just create thepage
.page
and we have available pages that don't have a specific template created, it will show the UI for searching the available pages.page
and we don't have available terms that don't have a specific template created, the menu item will not be added.Testing Instructions