WordPress / Learn

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

Custom Functionality #2088

Closed cynthianorman closed 1 month ago

cynthianorman commented 9 months ago

Details

Learning Objectives

The learning objectives are to:

Relevant Links

https://developer.wordpress.org/themes/core-concepts/custom-functionality/ WordPress Hooks (https://github.com/WordPress/Learn/issues/2079) Enqueuing CSS and JavaScript (https://github.com/WordPress/Learn/issues/2183)

github-actions[bot] commented 3 months ago

Lesson Development Checklist

cynthianorman commented 2 months ago

This Intermediate Theme Developer Learning Pathway Lesson is ready to be reviewed. Please follow the steps listed under Guidelines for reviewing content. Thank you for your contribution! ✨

https://youtu.be/3woz5fovfkM

ironnysh commented 2 months ago

Tutorial/Lessons Review Checklist

A helpful overview, @cynthianorman. I appreciate the highlight of when to use a plugin instead of the functions.php.

At 2:28, the slide shows the soon-to-be-old design of the Theme Directory. It’s probably safe to replace it with the upcoming design that’s supposed to launch soon: https://wordpress.org/themes/?new-theme=1.

cynthianorman commented 2 months ago

@ironnysh ooooh I love your suggestion

digitalchild commented 2 months ago

Very clear overview. I agree that its great that you highlighted when to move your functionality into a plugin.

Tutorial/Lessons Review Checklist

Please tick all items you've confirmed:

Leave an additional comment below with feedback. You can also share what you liked about this Tutorial.

cynthianorman commented 2 months ago

Thanks so much for your input @digitalchild

jonathanbossenger commented 1 month ago

https://youtu.be/S6OVsyP4FYA

cynthianorman commented 1 month ago

@jonathanbossenger

YouTube chapters

(0:06) Learning objectives (0:33) Describe the purpose of a WordPress theme's functions.php file (2:25) Decide when to use a plugin instead of the functions.php file when developing a theme (3:09) List some common uses of the functions.php file for extending the functionality of WordPress. (4:21) Next steps

cynthianorman commented 1 month ago

//publish