-
Notifications
You must be signed in to change notification settings - Fork 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 Editor: populating our template_part header as part of site creation on WP.com [3] #33515
Comments
If I understand correctly, a few steps have to happen:
One thing to note is that Headstart does not currently support hierarchical taxonomies (this is why tags are currently supported, but categories are not). I don't believe that's important yet (we are registering hierarchical taxonomies, but I don't see us using them), but may represent some significant work down the road. |
This is on hold for now, pending the outcome of Marko's solution. |
Closing this for now since I've merged #34640 and Automattic/themes#1062 which should also handle it. |
Update Note: this task is now specifically related to inserting data on WP.com during site creation. The general case of plugin usage on self-hosted WP installs will be handled in #33636.
During site creation, let's make sure our header backed by
template_part
is populated with the expected content. We may do this programmatically via headstart.In order to do this while preserving our initial data representation scheme, the following should be created:
wp_template_part_type
taxonomy forwp_template_part
CPT.wp_template_part
CPT post representing the header. Let's add aHeader
title to this post, and assignheader
term towp_template_part_type
taxonomy for it.wp_template_part
CPT post representing the footer. Let's add aFooter
title to this post, and assignfooter
term towp_template_part_type
taxonomy for it.wp_template_type
taxonomy forwp_template
CPT.wp_template
CPT representing the page template. Let's add aPage template
title to this post, and assignpage_template
term towp_template_type
taxonomy for it.The text was updated successfully, but these errors were encountered: