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

How to create custom theme options with WP Customize API #1902

Closed
16 of 31 tasks
melbos opened this issue Oct 4, 2023 · 10 comments
Closed
16 of 31 tasks

How to create custom theme options with WP Customize API #1902

melbos opened this issue Oct 4, 2023 · 10 comments
Assignees
Labels
Priority - Medium Medium priority issue.

Comments

@melbos
Copy link

melbos commented Oct 4, 2023

Details

  • Topic description: In case you are searching for a way to create extra settings so that your site users could define their custom global site settings these lessons could help you with that. This lesson plan will show you how to create custom option pages using WP Customize API.
  • Audience (User, Developer, Contributor, etc.): Developer
  • Learning objectives (What will the learner be able to do as a result of this content?): how to create a customized options page with children subpages, how to get values and work with different types of fields
  • Content type (Course, Tutorial, Online Workshop, or Lesson Plan): Lesson Plan
  • WordPress version (optional):
  • Will you be creating this content? (Yes or No): Yes

Related Resources

Guidelines

Review the [team guidelines] (https://make.wordpress.org/training/handbook/guidelines/)

Development Checklist:

  • Gather links to Support and Developer Docs
  • Consider any MarComms (marketing communications) resources and link to those
  • Review any related material on Learn
  • Define several SEO keywords to use in the article and where they should be prominently used
  • Description and Objectives finalized
  • Create an outline of the example lesson walk-through
  • Draft lesson plan
  • Copy edit
  • Style guide review
  • Instructional Review
  • Final review
  • Publish
  • Announce to the Training team
  • Announce to lesson plan creator
  • Announce to marketing
  • Gather feedback from lesson plan users about the quality

Lesson Plan Template

Lession Plan: https://docs.google.com/document/d/1ycaUx0vyqZ9iCxUV_gCWmA_d3JID2hsWMQ_4Gnd1T3g/edit

Description

Customize your theme with WordPress Customize API and empower users with options to quickly modify page appearance.
The purpose of the "Create Custom Theme Options" lesson plan is to empower developers with the knowledge and skills necessary to develop and implement custom theme options in WordPress. This lesson plan caters to individuals interested in creating WordPress themes with additional features and settings that go beyond the default customization options. In the realm of WordPress theme development, customization and flexibility are key aspects that contribute to a theme's success.
The "Create Custom Theme Options" lesson plan dives into the essential concepts and practical steps required to implement a personalized theme options panel, offering users a seamless and intuitive way to modify their website's appearance and functionality.

Objectives

After completing this lesson, participants will be able to:

  • Objective 1.1: Understand the structure of a WordPress theme, including template files, style sheets, and the functions.php file.
  • Objective 1.2: Analyze the role of theme options in enhancing user customization and experience.
  • Objective 1.3: Demonstrate the ability to create and organize theme files and folders efficiently.
  • Objective 2.1: Navigate and interact with the Theme Customizer interface.
  • Objective 2.2: Identify and implement built-in customization options available in the Theme Customizer.
  • Objective 3.1: Utilize WordPress functions and hooks to add new sections and settings.
  • Objective 3.2: Apply best practices in naming and organizing custom sections and settings.
  • Objective 5.1: Understand the role of CSS variables in the Global Styles system.
  • Objective 6.1: Hook into the customize_save action to save settings.
  • Objective 6.2: Utilize WordPress Customizer APIs to store and retrieve theme options.
  • Objective 7.1: Recognize the relationship between theme options and Global Styles.
  • Objective 7.2: Demonstrate how theme options enhance the user experience in both the Customizer and Site Editor.

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.

  • Users / Content Writers
  • Designers
  • Developers

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.

  • Beginner
  • Intermediate
  • Advanced

Type of Instruction

Which strategies will be used for this lesson plan? Put an "x" in the brackets for all that apply.

  • Demonstration
  • Discussion
  • Exercises
  • Feedback
  • Lecture (Presentation)
  • Slides
  • Show & Tell
  • Tutorial

Time Estimate (Duration)

How long will it take to present this lesson? Put an "x" in the brackets for the one that applies.

  • 1 hour or less

Lesson Outline

https://docs.google.com/document/d/1ycaUx0vyqZ9iCxUV_gCWmA_d3JID2hsWMQ_4Gnd1T3g/edit

@melbos melbos added Awaiting Triage Issues awaiting triage. See Training Team handbook for how to triage issues. [Content] Needs SME Content development issues requiring a Subject Matter Expert to vet the topic. labels Oct 4, 2023
@github-project-automation github-project-automation bot moved this to Awaiting Triage in LearnWP Topic Vetting Oct 4, 2023
@SierraTR SierraTR moved this from Awaiting Triage to Closed in LearnWP Topic Vetting Oct 4, 2023
@SierraTR SierraTR moved this from Closed to Awaiting Triage in LearnWP Topic Vetting Oct 4, 2023
@melbos melbos changed the title How to create custom Theme Options Pages with ACF PRO and enhance them with ACF Extended PRO How to create custom Theme Options Pages Oct 5, 2023
@jonathanbossenger jonathanbossenger added the Priority - Medium Medium priority issue. label Oct 17, 2023
@github-project-automation github-project-automation bot moved this to 👋 Ready to Create in LearnWP Content - Development Oct 17, 2023
@jonathanbossenger jonathanbossenger added [Audience] Developers and removed Awaiting Triage Issues awaiting triage. See Training Team handbook for how to triage issues. labels Oct 17, 2023
@jonathanbossenger
Copy link
Collaborator

@melbos this looks good to me, I look forward to seeing it when it's ready to be reviewed.

@kaitohm kaitohm removed the [Content] Needs SME Content development issues requiring a Subject Matter Expert to vet the topic. label Nov 27, 2023
@kaitohm kaitohm moved this from 👋 Ready to Create to 🚧 Drafts in Progress in LearnWP Content - Development Nov 27, 2023
@melbos melbos changed the title How to create custom Theme Options Pages How to create custom theme options with WP Customize API Mar 12, 2024
@kaitohm kaitohm moved this from 🚧 Drafts in Progress to 🔎 Ready for Review in LearnWP Content - Development Mar 12, 2024
@abdnafees
Copy link

Hey guys,

I reached out to Ben on Slack for opportunities to contribute to Make WordPress and he suggested I start from here. Please let me know where and what needs to be done and I will get cracking.

@melbos
Copy link
Author

melbos commented May 27, 2024 via email

@abdnafees
Copy link

@melbos Sounds good to me. I'll be sure to get back to you in a few hours.

@abdnafees
Copy link

abdnafees commented May 27, 2024

Tutorial/Lessons Review Checklist

  • Learning outcomes/objectives are clear.
  • Technical concepts introduced in the content are accurate.
  • The speed of demonstrations is easy to follow.
  • The narration audio matches what is shown visually.
  • Spelling and grammar are correct.
  • Sound quality is consistent throughout the video.
  • Brand Usage Guidelines and Promotional Guidelines are being followed.
  • Media assets are all in the public domain (CC0).

Comment:
The content looks solid.

@jonathanbossenger
Copy link
Collaborator

Hey folks

@cynthianorman pointed out that Theme options are a topic we're planning to create a video lesson for to be part of the Theme Developer learning pathway.

To avoid duplicating work, I wonder if there's a way forward here for us to collaborate on completing #2517 using some of the objectives from this lesson plan outline.

@melbos, do you see yourself creating this video lesson, or is this something you could collaborate on with Cynthia? If that is the case, we can review the learning objectives here and see which would make sense for the lesson on Theme options for the theme developer learning pathway.

@melbos
Copy link
Author

melbos commented Jun 19, 2024 via email

@cynthianorman
Copy link
Contributor

Thanks for your quick reply @melbos - I will definitely use what's here to prepare my video lesson and reach out with any questions I may have

@jonathanbossenger
Copy link
Collaborator

Awesome, thanks folks.

@melbos
Copy link
Author

melbos commented Jun 19, 2024 via email

@github-project-automation github-project-automation bot moved this from 🔎 Ready for Review to 📜 Published or Closed in LearnWP Content - Development Jul 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority - Medium Medium priority issue.
Projects
Status: 📜 Published or Closed
Development

No branches or pull requests

5 participants