Adding Styles & Scripts The CORRECT Way in Wordpress (In Depth)-Theme Development Tutorial (2023) #7

preview_player
Показать описание
Scripts and styles are the most important within a theme, and THIS is how you do it correctly !

*Get Started with Theme Development:*

Chapters:
00:00 Intro
00:27 One of the WRONG Ways
01:46 Setting up wp_head() and wp_footer()
02:33 Set up OOP Code
03:25 Creating Folders
03:53 Creating Initialization Class
08:41 Creating Abstract Init Class
26:39 Creating the Init and Admin Init Classes
31:59 Creating an Autoloader for the classes
43:15 Explaining and adding enqueue hooks
51:45 Outro

Thank you for watching. Any feedback is greatly appreciated. Don't forget to like and subscribe if you like this content.
Рекомендации по теме
Комментарии
Автор

Awesome tutorial as always.. i like how thoroughly explained every details. one more thing.. i would like to know how do you setup your phpstorm that works in wordpress functions and hooks like intellisene/autcomplete

waelhi
Автор

Can you push the updated code to your repo??

RoborobsComputers
Автор

Why not using composer.json and psr4 ? And how about lint all code in project scss, js, php, html inside php ?

karlson