-
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
[Related Course: Create a Custom Block Theme #1] How Classic and Block Themes Are Developed - Lesson Plan #832
Comments
Call for Subject Matter Expertise
|
Subject Matter Expert: Huge Ask, Probably Not Obtainable (Many of these have been open-sourced, so I need to find that link in the meantime) |
Resource Link: https://www.figma.com/@wordpressorg |
This is ready for review: https://learn.wordpress.org/learn/lesson/how-classic-and-block-themes-are-developed/ |
I'll take a look at this. @wparasae what would be the best way to give feedback? Here? |
Hi @caraya |
THought I had postest this last week. Here are my notes and feedback on the course. Notes on Develop Your First Low-Code Block ThemeOverall: Add tags or captions to images. If I understand correctly either one of those will be picked up by screen readers Section 2: Design ItThere is a typo... it's not Figma's theme directory, it's WordPress, isn't it? I would also ask if there is an existing theme that they particularly like and to analyze it using the questions provided If people will not be using Figma to do the design, then this phrase is irrelevant:
Since people won't be using Figma for the design this is confusing and unnecessary. The course will show them how to do the equivalent work within the site editor. What A New Theme Developer Needs To Know: Anatomy Of A Block ThemeThis needs a transcript of the video. People may not want or be able to view the video, you need a text-based alternative Setting Up Your Block Theme’s Development EnvironmentWhy is the first paragraph an image? It is an image where it should be text and there is no alt text There is no transcript for the video Creating a WordPress Installation Using Local: Video GuideThere is no transcript for the video Step 1: Create a style.css fileThe wording of the first sentence is akward. Perhaps explain what Provide a transcript of what the video does or some sort of text-based equivalent. If the Inside the Item 3 is confusing. Where do I start to get to the app directory? Am I supposed to right-click the site name and then select Creating Your Block Theme’s index.phpProvide a transcript of what the video does or some sort of text-based equivalent. If the When asking the question: What do you notice about a block theme’s index.php (which you will be making soon) compared to a classic theme’s index.php? You should also provide the answer as an accessibility concern or provide alt text on the images so that people who rely on assistive technology won't be lost in the code. Is there a point in offering to expand and collapse the code in the classic theme is the section You should include an index.php file in your block theme. necessary since you're already insisting that students need to create the file? The setting to prevent display of directories without an index file is part of the web server, not necessarily Local, XAMP, or WAMP/MAMP. Creating index.php – video tutorialProvide a transcript of what the video does or some sort of text-based equivalent. If the Video Tutorial – Creating Templates Folder and index.htmlProvide a transcript of what the video does or some sort of text-based equivalent. If the Video Tutorial – Creating a theme.jsonProvide a transcript of what the video does or some sort of text-based equivalent. What does this first code do?Move the transcript to the course. I would rather not jump around from place to place, particularly if I can play the video directly in the course How can code in a theme.json file help or hinder you?May be worth noting that you don't have to write code because WordPress does it for you by providing default values. Without writing code you can't change these defaults so what you see is what you get. Your First Code: Appearance ToolsAkward wording: Developer Document here on Appearance Tools. Should this just be Developer Documentation on Appearance Tools? Step 2 of let's code is not complete. Rather than **Open up the quotes by typing a quotation mark ” and select “settings”. it should be ***Open up the quotes by typing a quotation mark ” and select “settings:”. The colon is missing ***Delete the word “false” and type true. The video needs a transcript and some sort of explanation of what the video is for. Is it illustrating what you've discussed earlier in the section or is it something else? Your Second Code: LayoutHow will the default layout look on mobile? So fat all screenshots are of desktop browsers, it may be good to show that it works on mobile browsers too Schema auto completion will vary based on the editor. Unless you keep reminding people that you're using a specific editor this should be more general. Layout theme.json Coding Video TutorialExplain the purpose of the video. Is it an audiovisual explanation of what you've covered so far? Please provide a transcript for the video Last Code: The Ability to Create a Color Palette in the Site Editor Last Code: The Ability to Create a Color Palette in the Site EditorWhy not name the colors like “Red” or “Green”? WordPress will not stop you from naming the colors with the actual color names. Using names like Where do your theme’s fonts live? Using assets as the main location of theme assets is a best practice, not a requirement. If you use assets as the main location, you should create a "fonts" folder because they are not the only resource that we should add there. Any images/scripts/resources would also go in the specific directory under assets. Adding A Few System Fonts Code: Remove "a few" from the section title. This adds a single system font for each combination of browser and operating system. It may be a good idea to clarify this since not all browsers support the same system fonts and you have to make sure that the site will look OK regardless of the font that is used.. The code looks like this because the browser will load the first font that is available and the final default if there is no supported font available. Add a transcript to the video. Design Element Best Practices and Brainstorm. Is the info note at the bottom of the page necessary? Your First Template: Create A Style Guide Using the Site EditorThere are other ways to create style guides, why is this one the one you recommend? If you have any blocks that ask you to “attempt block recovery”, please select that button. For the most part, WordPress should display any missing blocks. Show what the "attempt block recovery" looks like so people know what type of errors they can recover from. What should they do if they get other type of errors, how to debug the templates they just created if they need to? User changes vs hard-coded theme defaults. I'm concerned about using a non-feature plugins, even if it's created by WordPress contributors. This subjects the course to an uncertain level of support for the plugin. Saving Your Work: Create Block Theme Quiz. The quiz results are awaiting to be graded. Is this what you intended? Selecting Your Theme’s Default Fonts. What concrete alternatives do you suggest for handling users with dyslexia? Is this the only accessibility concern you have? As long as you're not sharing the theme it doesn't matter if the font is open-source or not. Despite the open source nature of WordPress open source fonts are not required Important: Using more fonts aren’t necessarily better. But you need at leasyt four different font files (regular, italic, bold and bold italic) for each font that you want to use on your theme. Otherwise the browser will fake italic and bold and will definitely look ugly and not the way you intended your design to work. You should also put a quick note on variable fonts (particularly from Google Fonts) since they work differently than regular fonts. Basic Header Code and Basic Footer Code Is this code available in the theme that you suggested people download earlier? The WordPress Template Hierarchy. See Template Hierarchy (developer.wordpress.org/themes/basics/template-hierarchy/) and this image Some (But Not All!) Tips For Your style.css Content. The URI address needs to be hosted elsewhere unless this is a TWENTY theme. You just told students that they can't use Twenty in the name of the theme so they have to host it elsewhere. Using the Theme Author’s WordPress.org username is recommended. For example, an appropriate theme author would be “Sarah Snow” instead of “Arasae”, which is her DotOrg username. This is contradictory... wouldn't your username be Arasae rather than Sarah Snow? Finally! Delete Your Style Guide. Why would this be a best practice? If we want people to change the theme wouldn't they need th style guide to know where you started from? |
Moving this to the Feedback project board. Please view the last comment as feedback provided to the published content. Then, follow Validating Content Feedback issues to validate this feedback. |
This is quite an old topic and there has been significant changes in block theme vs classic theme. With our new learning pathways coming soon, it will be covered there. |
IMPORTANT:
** This lesson plan belongs to part of a greater course, Create a Custom Block Theme #1 **
Please reach out to @arasae (Sarah Snow) in the #training team Slack if you would like to help with this lesson plan.
Topic Description
This lesson explores the differences between how classic themes were developed vs. how new block themes can be developed. One of the key goals is to illustrate that someone can create a fully functional block theme without touching much code; they can design almost everything they need right there in the site editor. I
It's important to also discuss the limitations as well theming during this lesson in order to set appropriate expectations and support the idea of where additional development resources (soon to be available in the 2nd Block Course series) can extend a theme even further to do even more remarkable things.
**Potential Ask: ** A workshop that explores the high-level processes of creating a classic theme vs. a block theme would be particularly helpful to include with the text-based content.
Objectives
After completing this lesson, participants will be able to:
Guidelines
Review the [team guidelines] (https://make.wordpress.org/training/handbook/guidelines/)
Development Checklist:
Repo Structure and Lesson Plan Template
Target Audience
Who is this lesson intended for? What interests/skills would they bring? Put an "x" in the brackets for all that apply.
Experience Level
How much experience would a participant need to get the most from this lesson? Put an "x" in the brackets for all that apply.
Type of Instruction
Which strategies will be used for this lesson plan? Put an "x" in the brackets for all that apply.
Time Estimate (Duration)
How long will it take to present this lesson? Put an "x" in the brackets for the one that applies.
Prerequisite Skills
Participants will get the most from this lesson if they have familiarity with:
These are important to include in case someone wants to use this lesson plan in-person as a stand-alone lesson.
Readiness Questions
See previous lesson plan: #831
Slides
If someone wanted to run this lesson as a stand-alone Online Live Workshop or at an in-person WordCamp, you could create slides for this here; if you run a Live Online Workshop on one of these topics or find someone else has, related slides would be welcome!
No slides; this could be an interesting live workshop, though, if someone wanted to run one on this topic!
Materials Needed
Notes for the Presenter
/Include any tips needed to present this topic for a Live Online Workshop or in an in-person classroom setting.
Lesson Outline
Exercises
What someone will DO with what they learn in each lesson; most lessons have at least one related exercise.
Exercise name
Short description of what the exercise does and what skills or knowledge it reinforces.
Assessment
These assessments will be auto-graded on Learn.WordPress.org.
There should be one assessment item (or more) for each objective listed above. Each assessment item should support an objective; there should be none that don't.
Write out the question.
Answer: 3. Correct answer
Additional Resources
Theme Development Workflows
Example Lesson [Written for a text-and-image based, multimedia course rather than for a live classroom setting]
Section Heading for Example Lesson
Lesson Wrap Up
Follow with the Exercises and Assessment outlined above.
The text was updated successfully, but these errors were encountered: