2 Responses

  1. Theresa
    May 15, 2012 at 2:10 am |

    Really, really useful! Thank you so much for posting this!

  2. Lindsay Branscombe
    February 22, 2013 at 10:57 am |

    I always just look at the body class. The code outputs all of the info you need to know about how you are viewing that page, including page template. SOMETIMES I will just echo it onto the page instead of as a class on an HTML element, but still works the same.

Leave a Reply