Tutorial: Adding Starter Page and Template Patterns #180
Locked
justintadlock
started this conversation in
Topic Ideas
Replies: 2 comments 1 reply
-
I like this! I bet there’s also a way to load patterns programmatically based on the existence of data on a given topic. |
Beta Was this translation helpful? Give feedback.
1 reply
-
Discussion is moved to the issue after approval. Please continue the conversation there 😃 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, there is little documentation for adding Starter Page Patterns and Starter Template Patterns. There are plans to add docs for these in the Theme Handbook: WordPress/Documentation-Issue-Tracker#816 But it will likely be a bit before those are written and published.
In the meantime, it'd be great to introduce them here on the Dev Blog. The Twenty Twenty-Four theme also includes some starter patterns, so it might mean a good chance to show off what the theme is capable of too.
Starter Page Patterns are patterns that appear when creating a new page (can also be used for any post type), allowing the user to choose a pattern to start from.
Starter Template Patterns are patterns that are available when a user creates a new template of that type in the Site Editor.
It's possible that we could even split this into two separate tutorials.
Beta Was this translation helpful? Give feedback.
All reactions