After reading through this guide, you will:
- Understand the Roots Wrapper and recognize how it extends and complements the WordPress template hierarchy.
- Know what is meant by the DRY Principle, why being DRY bests being WET, and see how most WordPress themes are WET.
- Be able to filter the Roots Wrapper and create a new base template for a Custom Post Type.
WordPress is pretty smart. Every time you load up a request it will search for the most relevant template available in your theme and load it. This is the Template Hierarchy in action and it enables us to easily customize the appearance of our sites.