• Home
  • About
  • Now
  • Code Snippets
  • Blog
    • WordPress
    • Genesis Theme Framework
    • Tutorials
    • Web Development
    • Geeking Out
    • Blogging Resources
  • Contact
  • Home
  • My Story
  • Now
  • Code Snippets
  • Blog
  • Contact

The Web Princess

WordPress & Genesis Theme Development

The Web Princess

WordPress Template Hierarchy

May 29, 2013 by Dee Teal

If you’ve spent any time at all working with WordPress themes you’ll have no doubt found yourself navigating the dark corridors of the WordPress Template Hierarchy.

It took some time for me to get my head around which file to create when I’m making custom templates and the WordPress Codex has been invaluable in terms of figuring out what to put where.  The Codex’s diagram and my handy dandy little template code snippet that prints out which template I’m looking (below) at have been my ‘go to’ resources.

I came across a couple of alternatives today that I love!!  Thought you’d like to check them out too…

First, here’s the original…

http://codex.wordpress.org/Template_Hierarchy

Template_Hierarchy

Here’s a fun one made for WordCamp Minneapolis

http://2013.minneapolis.wordcamp.org/2013/04/27/wordpress-theme-template-poster/

WordPress Template Hierarchy via WordCamp Minneapolis

And here’s one made by Marktime Media which is beautifully clean and modern looking!! I’m gonna make it my new ‘go to’…

wp-template-hierarchy-titled

 

Oh… and here’s that little snippet that prints out which template you’re looking at just drop it into your functions.php file.

 

What do you think?  What are your ‘go to’ template resources?

About Dee Teal

Dee Teal is a Scrum Master, Project Manager, and Team leader with a history as a developer (mostly front-end and using the Genesis Theme Framework) and WordPress trainer who is crazy active in the WordPress community.

She's run large scale WordPress events, and small ones, and if you ask someone about WordPress in Australia, you won't usually be more than one degree of separation from someone who knows her.
 
You can also find her here...
LinkedIn | Twitter

FREE Website Planner

  • Become your web designer's favourite client

Website Sign Ups

Become your Web Designer's favourite client by preparing for your web project using the Web Princess' Interactive Website Planner

  • This field is for validation purposes and should be left unchanged.

Tweet

  • I just solved pack Snake in WordBrain - as number 2605 ever! #wordbrain #genius #words http://t.co/ygULwZTRYQ http://t.co/ORNxwtaTIl September 14, 2015 2:11 pm
  • Pretty impressed with the stops that @Telstra are pulling out to get my issues sorted... Service with a surprised smile! September 14, 2015 2:48 am
  • It's Tuesday. A perfect evening for this. And by this I mean beer (of course). #oohermrs… https://t.co/eiIttD5xWa September 8, 2015 8:17 am
  • Follow Along

Recent Posts

  • Moving to deeteal.com October 23, 2020
  • Asking a Better Question September 13, 2016
  • Growing & Developing your WordPress Meetup June 24, 2016
  • Making an Escape June 7, 2016
  • Changing Tack : Adjusting your Sails for the Winds of Change May 7, 2016
  • Privacy Policy
  • Disclosure Policy
  • Contact

© 2023 The Web Princess
Proudly custom built with Genesis