-
Notifications
You must be signed in to change notification settings - Fork 102
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
Creating Block Patterns - Lesson #894
Comments
Block pattern registered in the patterns directory (available since 6.0)
|
Block pattern registered in functions.php
|
Deregister core block patterns
|
@jonathanbossenger Assign this to me. I've got the initial outline here: https://github.com/justintadlock/block-theme-course/tree/main/module-06 |
@justintadlock awesome. I took a look at the outline, and I think it's great. 🎉 I ran a twitch stream on patterns today in preparation for my online workshop on Thursday, you can see the outline I'm planning for the workshop here, there is a lot of overlap with your lesson outline. The only thing I might do differently (which I will be doing in the workshop) is to teach the PHP registration first, if only because it's sort of complicated mixing block markup and PHP in a string, and I'd probably recommend folks go the "file in the patterns directory" as a recommended practice. However, I don't think it really matters which way around it works for the lesson. |
The draft for the Theme Patterns module is here: https://github.com/justintadlock/block-theme-course/tree/main/module-06 I have finished code review but not quite done with copyediting yet. |
@justintadlock I'm in the process of reviewing, but I had one realization I wanted to share with you. One of the things I noticed @wparasae doing in her block theme course was using the different callout blocks on Learn WordPress, for example, the tutorial callout block to indicate steps for the course learner to follow. So I started implementing the same callouts in my course lessons. You can see the info and tutorial callouts used on the first lesson in my block theme course. I see these callouts as similar to the types of callouts you would use in a technical book, which I'm sure you used working on a certain plugin development book we all know and love. 😁 The four different possible callouts in Learn are:
I realize that I am only raising this now after you've already submitted your fonts module, so my apologies, but for these newer modules, could I ask that you try and isolate any items that might benefit from using these callouts, for example, any "action" steps that we'd like to try and get the learner to perform, further reading resources or tips. To indicate these in markdown, you can look at some of my lessons from the first 4 modules, but I used a combination of the quote markdown formatting, and an action word highlighted in bold text. For example, this is how I formatted a tutorial callout in markdown.
You're welcome to use the same title as the name of the callouts above to make it easier (for example Tutorial instead of Do) When I add the lesson to Learn, I'll convert the markdown to the relevant blocks. I'll do a sweep of the font module and implement this when I add it to learn, but I could I ask you to update your other modules in this way, as you know the content best. |
@justintadlock just did a review of your lessons. Great stuff 🎉 I have no change requests (besides that which I added above) and I'm excited to see the PR to add this to the final course, when you are ready. |
@justintadlock just leaving a note here (nothing to change) that there is a separate module on Internationalization, so when I create the course content in Sensei, I'll move your Block Patterns section on Internationalizing text in patterns to that module/lesson. This will actually be good, as it will give the course learner two examples to work with in that lesson. |
Review: Patterns are beautifully explained. I have seen some words in bold here for emphasis, but also elsewhere in the course so far. Something else I picked up in this call-out is that one sentence has a full stop, and the others don't. Also, point 4, add 'a' before 'add Buttons block'. Change to: "Add a Buttons block". |
Thanks for pointing this out. Fortunately for us, the block editor uses the |
I never know if lists of instructions should have full stops or not... removed the one full stop for now. |
You can leave out full stops for lists 👍 |
WP 6.4 WordPress/gutenberg#52270 please review for revisions |
IMPORTANT
This lesson plan belongs to part of a greater course, Extend a Low Code Block Theme which depends on the completion of Create a Custom Block Theme #1
Please reach out to @jonathanbossenger (Jonathan Bossenger) in the #training team Slack if you would like to help with this lesson plan.
Topic Description
The goal of this lesson is to introduce the concept of block patterns in building block themes
Objectives
After completing this lesson, participants will be able to:
Guidelines
Review the [team guidelines] (https://make.wordpress.org/training/handbook/guidelines/)
The text was updated successfully, but these errors were encountered: