May 1, 2016
Did you ever wish you could go beyond what index.php, page.php and single.php have to offer. Have you ever wondered what taxonomy.php in your premium theme actually does? Have you ever had the need to target a blog category or a custom post type with a unique layout? Well, it might be high time to put the WordPress Template Hierarchy to work for you. I will take you on a little tour of this powerful aspect of WordPress development. Learn how to the hierarchy is structured, how to create a custom post type template, how to drill down and create a template for even a specific page or post and more. And as a bonus some tips on using get_template_part() to avoid bloated files and to neatly organize your themes templates! Like a Boss!