-
Notifications
You must be signed in to change notification settings - Fork 4.8k
FSE: theme data for Global Styles and Templates #30191
Copy link
Copy link
Closed
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] QuestionQuestions about the design or development of the editor.Questions about the design or development of the editor.
Description
We are storing templates and template parts in wp_template and wp_template_parts CPTs respectively. In order to associate them with their corresponding themes, we added wp_theme taxonomy in which the theme stylesheet is saved for each post. (ref)
For storing Global Styles data, we similarly have global_styles CPT, but the corresponding theme info is saved in the post name (wp-global-styles-<theme-stylesheet>). (ref)
Would it make sense to align these approaches for consistency?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.jsonAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] QuestionQuestions about the design or development of the editor.Questions about the design or development of the editor.
Type
Fields
Give feedbackNo fields configured for issues without a type.