Today we have a very esteemed guest author: Josh Pollock! Josh is the co-founder of CalderaWP, which authors top-quality WordPress plugins. They’ve just released a new plugin: Easy Queries, an awesome new visual editor for WordPress queries.Learn more at CalderaWP, and get a 20% discount on Easy Queries when you use the code SHOUT! at checkout. The WordPress template hierarchy is the system that defines which PHP template file your theme (or child theme) will use to display a given content type on your WordPress site. As such, it allows you to customize how your theme shows different content, based on context. Combined with a strong set of template tags, most of the time it covers every situation you need. Of course, WordPress can’t handle every requirement for every site, so there’s also a set of hooks that you can use to customize how the template hierarchy behaves. While these hooks are generally not used in themes for general release, they are very helpful when building a theme for specific site, or in plugin development. If you are not familiar with the template hierarchy yet, you should familiarize yourself with it before reading this article. In this article, I am going to walk
Share This