-
Notifications
You must be signed in to change notification settings - Fork 4.3k
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
Update the documentation - Remove the "theme" key value pair from the block templates #28807
Conversation
…e HTML comment - Removes the "theme" key value pair from the HTML comment of block templates, in the documentation. As per the [recent changes in Gutenberg](WordPress#28088) (as of 9.9) the "theme" attribute should be removed from the template-part blocks.
docs/designers-developers/developers/tutorials/block-based-themes/README.md
Outdated
Show resolved
Hide resolved
docs/designers-developers/developers/tutorials/block-based-themes/README.md
Outdated
Show resolved
Hide resolved
docs/designers-developers/developers/tutorials/block-based-themes/README.md
Outdated
Show resolved
Hide resolved
Apply suggestions from code review Co-authored-by: Carolina Nymark <[email protected]>
remove unwanted line "If you used a block template part slug, adjust the value for the "slug" key."
Thank you @carolinan for the feedback. I have updated the PR as per your request. |
@carolinan Please let me know if there are any other changes to be made. |
This text is a bit difficult for me to read: |
Update the comment for the block template part slug and value
Thanks @carolinan . I have made some changes as per your suggestions. Please let me know if it sounds better now. |
Hi, can you refresh this? |
Thanks for your work here @imranhsayed! I have to close this PR though as it seems this has been addressed by the massive docs update regarding the creation of a block theme here: #31269. Thanks again! |
Description
As per the recent changes in Gutenberg (as of 9.9) the "theme" attribute should be removed from the template-part blocks.