Amazing tutorial, thank you! I have a question concerning the use of the singleton class for scripts and styles enqueuing: in WordPress, if I want to use specific scripts or styles only on specific page templates or post type, I will only register the script/style, then use a WordPress native conditional (is_home, is_page_template, is_single...). How do I do it in the singleton class? Do i put the registration and conditional are all in the "enqueue" method, or...? Thank you very much!
Exactly. Let's say you want to create all logic for a specific section of your website, then you create a new class, include the class inside your main theme class. Then in the constructor you add the add_action('wp_enqueue_scripts', [$this, 'enqueue_scripts']). Then you add a enqueue_scripts method to this class and in there you use your conditional logic.
What about coding block theme? Could you please make a video of that? Wordpress is coming this way (like it says and like it is visible in theme docummentation).
Thanks for the video. Could you make a similar video on creating a custom WooCommerce theme from scratch? Maybe something that covers functionality like product filters by attributes and categories, as well as changing the design of the archive-product layout.
Thank you Robbert. This helped. I just want to point out that moving the screen around too often and too fast is disturbing to the eye and making it really tedious to follow you.
Really nice and practical video, I love this style of showcasing the tecnology, please keep them coming. Great work!
Thank you very much!
thank you man i love the way you made that video feels like a friend showing me his way of doing things
Thank you for the big compliment!
perfect Robbert! Thank you so much a lot of value!
Amazing tutorial, thank you!
I have a question concerning the use of the singleton class for scripts and styles enqueuing: in WordPress, if I want to use specific scripts or styles only on specific page templates or post type, I will only register the script/style, then use a WordPress native conditional (is_home, is_page_template, is_single...).
How do I do it in the singleton class? Do i put the registration and conditional are all in the "enqueue" method, or...?
Thank you very much!
Exactly. Let's say you want to create all logic for a specific section of your website, then you create a new class, include the class inside your main theme class. Then in the constructor you add the add_action('wp_enqueue_scripts', [$this, 'enqueue_scripts']). Then you add a enqueue_scripts method to this class and in there you use your conditional logic.
@@RobbertVermeulen Thank you!
WOW nice video edit! love it!
Hi Robert! Just wanted to say keep up the good work you’ve helped me so much since I started so thank you so much🎉
@@Offical_reactor Amazing to hear my content helped you! And your comment definitely helps me keep going. Have a great day!
Nice tut, thank you so much
What about coding block theme? Could you please make a video of that? Wordpress is coming this way (like it says and like it is visible in theme docummentation).
Thank you for your comment. I will try to do something like that soon
@@RobbertVermeulen That's nice. Would be perfect if you could make this ttime custom data types too.
Thanks for the video. Could you make a similar video on creating a custom WooCommerce theme from scratch? Maybe something that covers functionality like product filters by attributes and categories, as well as changing the design of the archive-product layout.
I will try to create a video like this soon!
@@RobbertVermeulen Very interested in this too.
I'm here for Reddit. I actually like the zoom. Awesome content. Thanks.
@@kennethisaac233 thank you very much 🙏🏻
Okay, I learned a lot. Thank you. I still have some kinks in the pipe that need to get worked on. Do you do private lessons too? 😇😘
Really Great Explaination sir but are you looking for a video editor?
Thank you Robbert. This helped. I just want to point out that moving the screen around too often and too fast is disturbing to the eye and making it really tedious to follow you.
Also, the mouse was moving too much. A distraktion.
Hi Robert, can you provide us source code please?
Cursor Ai >