
In this lesson, we will download WordPress and go through your local development environment and some recommendations
Useful links
Setting up docker and Wordpress https://www.hostinger.co.uk/tutorials...
MAMP and MAMP PRO https://www.mamp.info/en/
Homestead on Windows https://www.kodementor.com/installing...
Laravel Valet . https://laravel.com/docs/5.8/valet#in...
In this lesson, we will have a refresher of Wordpress template hierarchy
In this lesson, we will quickly go over the WP_User Object and then see what kind of information we can extract from it
In this lesson, we will have a quick refresher by going over WP_Query and WP_Post objects
In this lesson, we will finally look at sage 9 starter theme. This is part I of 2 parts lesson, where we will understand about sage, the problems it's trying to solve and its theme structure.
This is the 2nd part, where we will look at the sage controller and how it's mapped to templates.
This is part 1 of a short portfolio project. In this lesson, we will download and configure custom post type UI and advanced custom fields plugins. We will create the relevant template and controller and then link them.
In this lesson, we will retrieve the custom post type, project and display the project thumbnails in the traditional way.
In this lesson, we will refactor the code and move business logic to the controller. We will then pass data along to views and will display the data
In this lesson, we will style the projects page a little. Then we will link up each project to its relevant page to fully display its information. Finally, we will extract the repetitive code to a reusable code block
Video to be uploaded at later stage
If I could be bold enough to say that theme development in Wordpress sucks. I remember how much I dreaded the repetition i.e. copying and pasting code. Views were always tightly coupled to the business logic with no clear separation of concerns. Templates would end up having spaghetti PHP code scattered around. Wordpress plugin development is, however, somewhat better compared to theme development; where at least you can isolate the logic in classes.
Wordpress itself is evolving drastically by introducing features like Gutenberg and WP Rest API. However even with these advanced and cool features, unfortunately, theme development experience hasn't changed much. But don't despair, Roots have you covered. The community behind Roots has introduced some awesome development tools like sage starter them, Bedrock and Trellis, which makes theme development fun.
In this course, I will walk you through the process of setting up sage theme. I will walk you through some of the basic concepts in Wordpress and an alternate way of developing themes which will help you to stay DRY ( Don't repeat yourself ).