Skip to content
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

Tutorial: Adding Starter Page and Template Patterns #194

Closed
justintadlock opened this issue Dec 20, 2023 Discussed in #180 · 8 comments
Closed

Tutorial: Adding Starter Page and Template Patterns #194

justintadlock opened this issue Dec 20, 2023 Discussed in #180 · 8 comments

Comments

@justintadlock
Copy link

Discussed in #180

Originally posted by justintadlock December 12, 2023
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.

@justintadlock
Copy link
Author

@justintadlock justintadlock moved this from In Progress to Needs 1st review in Developer Blog Content Board Jan 29, 2024
@justintadlock
Copy link
Author

@marybaum
Copy link
Member

On it!

@bph
Copy link
Collaborator

bph commented Jan 30, 2024

I am through with my review and my questions. Great post!

@justintadlock justintadlock moved this from Needs 1st review to Needs 2nd review in Developer Blog Content Board Jan 30, 2024
@marybaum
Copy link
Member

Done!

@justintadlock justintadlock moved this from Needs 2nd review to Done w/ 2nd review in Developer Blog Content Board Jan 30, 2024
@justintadlock
Copy link
Author

Thanks, @bph and @marybaum!!!

@justintadlock justintadlock moved this from Done w/ 2nd review to Ready to publish in Developer Blog Content Board Jan 30, 2024
@justintadlock justintadlock moved this from Ready to publish to Published (Done) in Developer Blog Content Board Jan 31, 2024
@justintadlock
Copy link
Author

Social copy:

Want to know how Twenty Twenty-Four shows a "Choose a pattern" modal when adding a new page? It's actually a built-in WordPress feature that you can use in your themes. Find out how in this tutorial from the Developer Blog:

https://developer.wordpress.org/news/2024/01/31/adding-starter-patterns-to-your-wordpress-themes/

@github-project-automation github-project-automation bot moved this from Published (Done) to Ready to publish in Developer Blog Content Board Jan 31, 2024
@justintadlock justintadlock moved this from Ready to publish to Published (Done) in Developer Blog Content Board Jan 31, 2024
@bph
Copy link
Collaborator

bph commented Feb 13, 2024

scheduled on social for 2/29

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Published (Done)
Development

No branches or pull requests

3 participants