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

[Theme Handbook Overhaul] Templates > Template Parts #1130

Closed
Tracked by #816 ...
justintadlock opened this issue Sep 27, 2023 · 8 comments
Closed
Tracked by #816 ...

[Theme Handbook Overhaul] Templates > Template Parts #1130

justintadlock opened this issue Sep 27, 2023 · 8 comments
Assignees
Labels
developer documentation (DevHub) Improvements or additions to developer documentation new document Requests for new page/article. [Status] Done Issue is completed themes Issues for Theme Developer Handbook

Comments

@justintadlock
Copy link

This ticket is a part of #816 and will be used for creating new page titled "Template Parts" under Chapter 4: Templates.

The content for the new page will be drafted in a Google Doc: https://docs.google.com/document/d/1k2AMYrlto4s0VyZP5HMtAW-hNwHD9Mm_2WO-kGKKrTQ/edit?usp=sharing

@justintadlock justintadlock added developer documentation (DevHub) Improvements or additions to developer documentation new document Requests for new page/article. themes Issues for Theme Developer Handbook labels Sep 27, 2023
@justintadlock justintadlock self-assigned this Sep 27, 2023
@github-actions
Copy link

Heads up @WordPress/docs-issues-coordinators, we have a new issue open. Time to use 'em labels.

@github-actions
Copy link

Heads up @kafleg @carolinan @TeBenachi - the "themes" label was applied to this issue.

@justintadlock
Copy link
Author

The first draft for this doc is finished and ready for review.

@kafleg
Copy link
Member

kafleg commented Sep 29, 2023

Looks good to me.

@carolinan
Copy link
Collaborator

Looks good.

@justintadlock
Copy link
Author

Thanks for the feedback.

Unless I missed it, I was surprised that the wp_template_part post type was not mentioned.

I added a note on the first mention of user-created parts being saved.

I am glad that it mentions that nested folders are not supported since this is currently broken: WordPress/gutenberg#54279

Thanks for this link. I added it where the missing support was mentioned in the post in case someone wanted to dig deeper.

@justintadlock
Copy link
Author

The draft for this doc is now in the Theme Handbook: https://developer.wordpress.org/wp-admin/post.php?post=149235&action=edit

@justintadlock
Copy link
Author

@github-actions github-actions bot added the [Status] Done Issue is completed label Oct 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer documentation (DevHub) Improvements or additions to developer documentation new document Requests for new page/article. [Status] Done Issue is completed themes Issues for Theme Developer Handbook
Projects
None yet
Development

No branches or pull requests

3 participants