Skip to content

FSE: theme data for Global Styles and Templates #30191

@vindl

Description

@vindl

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?

cc @nosolosw @mtias @youknowriad

Metadata

Metadata

Labels

Global StylesAnything related to the broader Global Styles efforts, including Styles Engine and theme.json[Type] QuestionQuestions about the design or development of the editor.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions