Like the blog? Get the book »

Daily archives: Friday, February 19, 2010

Archive page 1 of 1
Which Template File does WordPress Use to Render Different Pages?

Which Template File does WordPress Use to Render Different Pages?

This page in the codex has a particularly interesting infographic that shows a flowchart of how WordPress chooses which template file it is going to use to render the page. For example, did you know if you have a published page with “contact” as the slug, it will look for and use page-contact.php automatically?

© 2009–2024 Digging Into WordPress Powered by WordPress Monzilla Media shapeSpace