-
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 Editor] Archive-PostType template UI #42746
Conversation
Size Change: +257 B (0%) Total Size: 1.24 MB
ℹ️ View Unchanged
|
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.
Thanks for your work here Jorge! I've left some comments for now.
Another thing would be that I think page
doesn't have an archive and post
is handled differently - I'm not sure about the post though 😄 .
1717871
to
aba0f14
Compare
Hi @ntsekouras,
|
ab58c8b
to
eceb21d
Compare
eceb21d
to
639f0be
Compare
639f0be
to
a55c55f
Compare
Sure, I will do that 👍 I think this PR is ready to merge and just needs approval cc: @ntsekouras, @oandregal. |
a55c55f
to
44c1c65
Compare
44c1c65
to
c538786
Compare
👋 I've tested by:
|
A couple of things I've noticed:
220825-error-loading-template-screen.webm
220825-templates-loading-async.webm |
Merging this PR, according to @oandregal (and my own tests) seems to work well and the issue identified is not because of this PR. In case someone notices a possible enhancement just leave a comment and I will create a follow-up PR. |
PR to fix the template page blank screen at #43602 |
Backports PHP changes in WordPress/gutenberg#42746 to the core. Adds a has_archive field to the post types endpoint. Props mcsf, ntsekouras, oandregal. See #56467. git-svn-id: https://develop.svn.wordpress.org/trunk@54273 602fd350-edb4-49c9-b593-d223f7449a82
Backports PHP changes in WordPress/gutenberg#42746 to the core. Adds a has_archive field to the post types endpoint. Props mcsf, ntsekouras, oandregal. See #56467. Built from https://develop.svn.wordpress.org/trunk@54273 git-svn-id: http://core.svn.wordpress.org/trunk@53832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Backports PHP changes in WordPress/gutenberg#42746 to the core. Adds a has_archive field to the post types endpoint. Props mcsf, ntsekouras, oandregal. See #56467. Built from https://develop.svn.wordpress.org/trunk@54273 git-svn-id: https://core.svn.wordpress.org/trunk@53832 1a063a9b-81f0-0310-95a4-ce76da25c4cd
Backports PHP changes in WordPress/gutenberg#42746 to the core. Adds a has_archive field to the post types endpoint. Props mcsf, ntsekouras, oandregal. See #56467. git-svn-id: https://develop.svn.wordpress.org/trunk@54273 602fd350-edb4-49c9-b593-d223f7449a82
This PR adds an option to create an archive-posttype template on the site editor UI.
It uses the same UI as Single Posts and Taxonomies.
Part of: #37407
Testing Instructions
I verified I could create archive templates for posts and pages, and the UI shown below appears on the add new template menu.