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

Update the documentation - Remove the "theme" key value pair from the block templates #28807

Closed
wants to merge 4 commits into from

Conversation

imranhsayed
Copy link
Contributor

Description

  • Removes the "theme" key value pair from the HTML comment of block templates, in the documentation.

As per the recent changes in Gutenberg (as of 9.9) the "theme" attribute should be removed from the template-part blocks.

…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.
@gziolo gziolo added [Type] Developer Documentation Documentation for developers [Block] Template Part Affects the Template Parts Block labels Feb 7, 2021
imranhsayed and others added 2 commits February 8, 2021 11:21
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."
@imranhsayed imranhsayed requested a review from carolinan February 8, 2021 05:54
@imranhsayed
Copy link
Contributor Author

Thank you @carolinan for the feedback. I have updated the PR as per your request.

@imranhsayed
Copy link
Contributor Author

@carolinan Please let me know if there are any other changes to be made.

@carolinan
Copy link
Contributor

This text is a bit difficult for me to read:
Inside the curly brackets there is key and its values: The "slug" is the key and the slug of the template part e.g. "header", or "footer" is its value.

Update the comment for the block template part slug and value
@imranhsayed
Copy link
Contributor Author

Thanks @carolinan . I have made some changes as per your suggestions. Please let me know if it sounds better now.

Base automatically changed from master to trunk March 1, 2021 15:45
@carolinan
Copy link
Contributor

Hi, can you refresh this?

@ntsekouras
Copy link
Contributor

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!

@ntsekouras ntsekouras closed this Jun 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Block] Template Part Affects the Template Parts Block [Type] Developer Documentation Documentation for developers
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants