• 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

Display the WordPress Template Used

November 10, 2013 by Dee Teal

This useful code snippet allows you to display the WordPress template used.  It’s brilliant for troubleshooting and is also helpful in starting to get your head around WordPress’ templating system.  By default the snippet outputs to the wp_head hook, however you can add it to any wp hook (or genesis hook available). In the image pictured the url is being output onto our genesis_entry_content hook.