[wp-docs] Error on Template Hierarchy codex page?
    MichaelH 
    justmichaelh at gmail.com
       
    Mon Nov  3 02:54:37 GMT 2008
    
    
  
----- Original Message ----- 
From: "John Blackbourn" <johnbillion+wp at gmail.com>
> 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?
That information looks wrong.  Corrected the Codex.
Thanks for the report.
MichaelH
    
    
More information about the wp-docs
mailing list