[wp-docs] Error on Template Hierarchy codex page?

John Blackbourn johnbillion+wp at gmail.com
Mon Nov 3 02:24:30 GMT 2008


See <http://codex.wordpress.org/Template_Hierarchy#Page_display>

    "1. pagename.php - Any custom Page Template selected for the page
- If the page slug were about, WordPress would look for about.php"

I don't believe this is the case. You can create a custom template
named about.php but it won't be automatically used by a page with a
slug of 'about'. The template has to be explicity chosen from the page
editing screen.

Can anyone verify if this is correct or not?

John.


More information about the wp-docs mailing list