WordPress / Learn

WordPress.org Learn - The canonical source for the code and content behind https://learn.WordPress.org
276 stars 101 forks source link

Theme.json - Lesson Plan #652

Closed courtneyr-dev closed 10 months ago

courtneyr-dev commented 2 years ago

Related Resources

Topic Description

Write a description of the topic here.

Related Resources

Links to related content on Learn, HelpHub, DevHub, GitHub Gutenberg Issues, DevNotes, etc.

Guidelines

Review the team guidelines

Development Checklist:

Repo Structure and Lesson Plan Template

Please remove all blockquote comments such as this before publishing.

Description

A short paragraph explaining what is covered in the lesson plan. This should be text that can be copied and used in a meetup or workshop description.

Objectives

After completing this lesson, participants will be able to:

It’s required that you include a bulleted list of objective(s) for each lesson plan. Objectives should be worded as actions that the participant can do once they’ve finished. See Bloom's Taxonomy of Action Verbs (PDF) as a reference. Avoid using words like "know," "understand," "be introduced to," etc. There should be one assement item for each objective (see below).

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:

For example:

  • Experience with HTML and CSS
  • Completed the Basic WordPress Concepts lesson

Readiness Questions

A list of questions for participants to see if they have the background and skills necessary to learn and understand the lesson.

For example:

  • Do you want to makes changes to your theme yourself?
  • Do you know how to write CSS?

Slides

Change the /repo-name/ in the link to match the URL name of this repo.

Materials Needed

A list of files, resources, equipment, or other materials the presenter will need for the lesson.

For example:

  • A local install of WordPress
  • The files for the TwentySixteen theme

Notes for the Presenter

A list of any handy tips or other information for the presenter.

For example:

  • Participants may need to download the TwentySixteen theme before beginning
  • What to do if there’s no projector or internet available
  • What to do if a participant doesn’t have the necessary set up
  • How to handle different opinions about the topic

Lesson Outline

The plan for the lesson. Outline form works well.

For example:

  • Talk about what a theme is
  • Demonstrate how to install and activate a theme
  • Practice exercises to have participants find and install a theme on their own site

Exercises

Exercise name

Short description of what the exercise does and what skills or knowledge it reinforces.

These are short or specific activities that help participants practice certain components of the lesson. They should not be fully scripted exercises, but rather something that participants could do on their own. For example, you can create an exercise based on one step of the Example Lesson.

Assessment

There should be one assement 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.

  1. Option
  2. Option
  3. Option
  4. Option

Answer: 3. Correct answer

A few questions to ask participants to evaluate their retention of the material presented. They should be a measure of whether the objectives were reached. Consider having a question for each objective.

Additional Resources

An optional section which can contain a list of resources that the presenter can use to get more information on the topic.

For example:

  • Link to information on the Codex
  • Theme Review Team's Handbook

Example Lesson

An example of how the lesson plan can be implemented. Written in script form as one possible way an presenter might use this lesson plan at an event, with screenshots and instructions if necessary.

Section Heading for Example Lesson

You will likely need to break the Example Lesson down into multiple sections.

Lesson Wrap Up

Follow with the Exercises and Assessment outlined above.

caraya commented 2 years ago

Theme.json is a moving target where features are added regularly, how would this lesson plan handle new features? would those be considered separate lesson plans or would they require updating this lesson plan?

courtneyr-dev commented 2 years ago

We would continue to revise the existing lesson plan.

caraya commented 2 years ago

I would like to take a shot at writing this

courtneyr-dev commented 2 years ago

Assigned. I'll reach out for your .org username to get you access on LearnWP. We draft directly there usually.

caraya commented 2 years ago

Is there a doc outlining what the workflow for drafting directly on LearnWP is? I'm not seeing it

courtneyr-dev commented 2 years ago

Share how to enqueue webfonts. https://github.com/WordPress/gutenberg/pull/39988

courtneyr-dev commented 2 years ago

Draft at https://learn.wordpress.org/wp-admin/post.php?post=15349&action=edit when you have login access @caraya - just draft on site but please do not publish. We use a standard format which I've applied already to this post.

caraya commented 2 years ago

Share how to enqueue webfonts. WordPress/gutenberg#39988

This is. different than what's out in Gutenberg 12.8.

This is adding a way to load Google fonts in a way that complies with GDPR requirements but it hasn't landed and I'm not sure if it's on track to land on 6.0. There are questions I have about this and I'm not sure where to ask them

courtneyr-dev commented 2 years ago

It's looking like WebFonts and Theme Style Variations won't make it into 6.0. @caraya I'll update when we have a definite answer.

https://wordpress.slack.com/archives/C035NHLFUSY/p1649993897302289

caraya commented 2 years ago

I wrote it as a feature requiring Gutenberg installed.

I will make sure to include a note that this is not available in Core

caraya commented 2 years ago

Ready For Review. Can't add a label to it

westnz commented 2 years ago

Hi @caraya Could you post the link the draft lesson plan here. 👍

caraya commented 2 years ago

Hi @caraya Could you post the link the draft lesson plan here. 👍

Sorry, here it is

https://learn.wordpress.org/wp-admin/post.php?post=15349&action=edit

wparasae commented 2 years ago

This is so thorough! Taking a look now:

What I love:

What could use a change:

  1. QUICK FIX: Pre-Requisite: After reading the lesson plan, I would suggest adding some basic knowledge of coding languages as a pre-requisite skill, as well as familiarity with full site editing, and a general idea of what functions.php does in a classic theme.
  2. Exercises: Exercises that have a little more in-depth instruction will help learners and teachers. For example, under "modify the core sections", you could have learners toggle certain things off and on (such as a border setting, a color option, etc.) and potentially adjust WHICH options are available/pre-set. Even providing 2 or 3 suggestions will help guide everyone--otherwise, they may discover they can't decide what to start with!
  3. WE CAN HELP! Assessment questions: There are a lot of two-choice answers, but I bet we could come up with a few more robust questions. Let me know if you would like suggestions! :) Happy to help.
  4. QUICK FIX: I have a workshop ready that was based on this lesson plan that I can publish on using Schema with theme.json - a link out to it would set learners up for success!
  5. Some screenshots of what the theme.json may do to the backend site editor will help with clarity.

I will definitely need a developer to look at this, but with my basic background knowledge, this is thorough, stream-lined, and well done. I love this! Thank you for ALL your hard work and please don't hesitate to reach out if you'd like some assistance making these changes; I just don't want to step on your toes and make them without your permission :D

caraya commented 2 years ago

I will definitely need a developer to look at this, but with my basic background knowledge, this is thorough, stream-lined, and well done. I love this! Thank you for ALL your hard work and please don't hesitate to reach out if you'd like some assistance making these changes; I just don't want to step on your toes and make them without your permission :D

Sarah,

Thank you for your feedback 😄

If you want to make changes, go ahead. The goal is to make the lesson plan the best it can be, no permission needed

caraya commented 2 years ago

This is not ready to publish yet. IT has still some work to do.

azhiya commented 2 years ago

I've removed the "Ready to publish tag". Let us know when you're ready. Thanks.

courtneyr-dev commented 2 years ago

https://github.com/WordPress/gutenberg/pull/40260

caraya commented 2 years ago

@courtneyr-dev SInce I'm still working on finishing the lesson plan I'll work on incorporating this new element into the lesson plan before asking for another review

caraya commented 2 years ago

Ready for review 😺

caraya commented 2 years ago

Needs to incorporate the new variations block.json element.

https://github.com/WordPress/gutenberg/pull/42539

courtneyr-dev commented 2 years ago

Box shadow addition https://make.wordpress.org/core/2022/09/16/whats-new-in-gutenberg-14-1-15-september/

courtneyr-dev commented 2 years ago

outline support was also added to blocks and elements via theme.json. For more information about overall changes to theme.json, please see the Expanded theme.json support and Styles options section below.

Code examples: view examples provided in the Styling elements in block themes dev note

Adoption approach: opt-in.

Key Make Posts/GitHub/Trac Issue(s):

Styling elements in block themes dev note. YouTube video from Dave Smith going over these new options.

Piyopiyo-Kitsune commented 2 years ago

Same here-- will @caraya be working on this revisions or does this require reassigment?

caraya commented 2 years ago

The lesson plan hasn't been published. Added a first pass at the bottom with the changes and I'm trying to figure out what's the best way to do exercises for the new additions

caraya commented 1 year ago

I've completed the first pass at the updated content. I placed it at the bottom of the page to make it easier to review. I will move the content to its corresponding place after it has been reviewed.

I could use help with generating assessment questions

https://learn.wordpress.org/wp-admin/post.php?post=15349&action=edit

courtneyr-dev commented 1 year ago

6.2 (46813)

webtechpooja commented 1 year ago

Hi @caraya

This task is assigned to you, so I would like to ask if you have some bandwidth to work on the updates.

If you do not find time to work on this, It's OK. Please let us know so we can open this issue again, and someone else can volunteer.

For Context: WP 6.2 https://github.com/WordPress/gutenberg/pull/46813 You can check what needs to be updated.

Thanks

caraya commented 1 year ago

Hi @caraya

This task is assigned to you, so I would like to ask if you have some bandwidth to work on the updates.

I'm working on the updates for 6.0, 6.1 and 6.2

Finishing up with the assessment questions before posting the draft. This was never published so there is no existing content to use the extended revision plugin with

caraya commented 1 year ago

Content is ready for review.

courtneyr-dev commented 1 year ago

WP 6.4 Visuals: N/A Adoption approach: opt out via theme.json. For example with the Buttons block: "settings": { "blocks": { "core/buttons": { "layout": false { { {

Key Make Posts/GitHub/Trac Issue(s): Allow layout controls to be disabled per block from theme.json. (53378)

github-actions[bot] commented 11 months ago

This content is ready to be reviewed. Please follow the steps listed under Guidelines for reviewing content. Thank you for your contribution! :sparkles:

kaitohm commented 10 months ago

This lesson plan has been open for review for quite some time. I've done a quick pass, and have published it here: https://learn.wordpress.org/lesson-plan/how-to-configure-your-site-with-theme-json/

Some of the content is outdated (such as the fact WordPress now comes bundled with theme Twenty Twenty-Four.) But the essence remains the same and is valuable nonetheless.

If someone would like to update the lesson plan further, please create a new Content Feedback issue and work on the updates there.

Thank you for all the work you put into creating this, @caraya 🙌