-
Notifications
You must be signed in to change notification settings - Fork 108
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
Course - Advanced Shortcodes to Blocks #1760
Comments
This course will attempt to answer some of the questions raised in this content feedback issue #1759, but will also expand on the topic. It would be great if we could get examples of the types of things this course should cover. I have some ideas of my own, but it would be ideal to gather ideas from WordPress developers using shortcodes in production and discover their hurdles turning those shortcodes into blocks. |
Nice idea, @jonathanbossenger. |
Thanks @TobiasBg. The link to the source code should be enough for me to investigate. If I have questions, I will reach out. I appreciate your input here, knowing how folks are using shortcodes will help me define the course content better. |
My shortcode to block usage so far has just used transforms logic. I didn’t see that side covered in some of the learn pages code snippets I just looked at, but I may have missed it. Specifically I was looking for mapping the attributes. I guess that the docs about converting are more about how to take a shortcode that you have and make a block that does the same thing, not about backcompat / transforming. I'd also love to see a highlight of ServerSideRender for folks who aren't ready to let go of PHP or cannot feasibly do the same thing in PHP without much more complicated JS work. |
Thank you @sc0ttkclark |
This should probably be handled in the Intermediate Plugin Developer learning pathway. |
Needs Assessment Statement
The Converting a Shortcode to a Block course provides an introduction to taking existing WordPress shortcodes and turning them into blocks. However, it covers only the basics of what this might look like, and does not deeper into topics like using dynamic blocks for rendering, accepting and using user attributes to determine block output, and accessing data from the WordPress database to display in the block output. This course will cover these topics, and more, using real world examples.
Target Audience
WordPress developers who make extensive use of shortcodes in their plugins or themes.
Course Objective
Once completing this course, developers will be able to convert any shortcode into a block.
Outline #
Related Resources
Links to related content on Learn, HelpHub, DevHub, GitHub Gutenberg Issues, DevNotes, etc.
Guidelines
Review the team guidelines
Course Development Checklist
The text was updated successfully, but these errors were encountered: