Tidy Templates

By default, WordPress looks for template files in the root of the theme folder and only the root of the theme folder.  Requiring template files to live in the theme root is not ideal and forces developers to pollute their theme and doesn’t follow any established file organization best practices.

WordPress also only supports a limited (albeit satisfactory) set of templates.

Tidy Templates fixes both those issues.


Download it it from Github.

Organizing your templates

By moving the template files into their own folder, the root of our themes could be as clean and simple as:

Screen Shot 2016-04-04 at 1.26.49 PM

This set up works really well accompanied by the terrific Timber plugin.


Or a little more robust like:

Screen Shot 2016-04-04 at 1.46.52 PM

Set your WordPress site or application up as a modern MVC app

Learn how to install and use Tidy Templates here.

New Templates

Tidy Templates adds 2 new types of templates. File name specific post type templates, and intelligent pagination templates.

So our available templates grow from this:


old template hirearchy

to this (new templates are orange):


new template hirearchy

Learn how to use the new template types here.