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 FSE.code-snippets for 2024 #52

Open
wants to merge 1 commit into
base: course
Choose a base branch
from

Conversation

jhmonroe
Copy link

The FSE.code-snippets file has been successfully updated with all missing WordPress block grammar template tags. The additions include:

New comment-related blocks (e.g., author name, content, date, template) Form-related blocks (form, input field, submit button, notification) Navigation elements (home link, custom link, submenu) Page-related blocks (page break, page list, template part) Post-specific blocks (terms, time to read, navigation link) Query-related blocks (pagination controls, no results) Other utility blocks (avatar, embed, footnotes, table of contents)

All new entries follow the existing pattern with scope, prefix, and body properties.
The file maintains proper JSON formatting and alphabetical ordering of all entries.
The Video block entry has been simplified to prevent JSON parsing errors while maintaining functionality.

The FSE.code-snippets file has been successfully updated with all missing WordPress block grammar template tags. The additions include:

New comment-related blocks (e.g., author name, content, date, template)
Form-related blocks (form, input field, submit button, notification)
Navigation elements (home link, custom link, submenu)
Page-related blocks (page break, page list, template part)
Post-specific blocks (terms, time to read, navigation link)
Query-related blocks (pagination controls, no results)
Other utility blocks (avatar, embed, footnotes, table of contents)
All new entries follow the existing pattern with scope, prefix, and body properties. The file maintains proper JSON formatting and alphabetical ordering of all entries. The Video block entry has been simplified to prevent JSON parsing errors while maintaining functionality.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PS: Full list of everything identified as missing from the old file:

  • Avatar (wp:avatar)
  • Comment Author Name (wp:comment-author-name)
  • Comment Content (wp:comment-content)
  • Comment Date (wp:comment-date)
  • Comment Edit Link (wp:comment-edit-link)
  • Comment Reply Link (wp:comment-reply-link)
  • Comment Template (wp:comment-template)
  • Comments (wp:comments)
  • Comments Pagination (wp:comments-pagination)
  • Comments Next Page (wp:comments-next-page)
  • Comments Page Numbers (wp:comments-page-numbers)
  • Comments Previous Page (wp:comments-previous-page)
  • Comments Title (wp:comments-title)
  • Details (wp:details)
  • Embed (wp:embed)
  • Footnotes (wp:footnotes)
  • Form (wp:form)
  • Form Input Field (wp:input-field)
  • Form Submission Notification (wp:form-submission-notification)
  • Form Submit Button (wp:form-submit-button)
  • Home Link (wp:home-link)
  • List Item (wp:list-item)
  • Login/out (wp:login-out)
  • More (wp:more)
  • Custom Link (wp:custom-link)
  • Submenu (wp:submenu)
  • Page Break (wp:page-break)
  • Page List (wp:page-list)
  • Page List Item (wp:page-list-item)
  • Pattern (wp:pattern)
  • Author Biography (wp:post-author-biography)
  • Author Name (wp:post-author-name)
  • Comments Link (wp:post-comments-link)
  • Post Navigation Link (wp:post-navigation-link)
  • Post Template (wp:post-template)
  • Post Terms (wp:post-terms)
  • Time To Read (wp:post-time-to-read)
  • Query No Results (wp:query-no-results)
  • Query Pagination Next (wp:query-pagination-next)
  • Query Pagination Numbers (wp:query-pagination-numbers)
  • Query Pagination Previous (wp:query-pagination-previous)
  • Query Title (wp:query-title)
  • Read More (wp:read-more)
  • Table of Contents (wp:table-of-contents)
  • Template Part (wp:template-part)
  • Term Description (wp:term-description)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant