[wp-trac] [WordPress Trac] #12907: page-slug.php template not working for static front page

WordPress Trac wp-trac at lists.automattic.com
Wed Apr 7 20:04:33 UTC 2010


#12907: page-slug.php template not working for static front page
--------------------------+-------------------------------------------------
 Reporter:  thomask       |       Owner:     
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  3.0
Component:  Template      |     Version:  3.0
 Severity:  normal        |    Keywords:     
--------------------------+-------------------------------------------------
 if you set static front page, the page-[slug].php template not working.
 E.g. if you create page with ID 2 with slug "homepage" with standard
 settings - www.example.com/homepage, than page-homepage.php template is
 used. But if you set static frontpage, it does not work (but you can still
 use page-2.php template).

 P.S.: it would be great, if we could use also home.php for this page
 (anyway everyone can have only one frontpage, so if you have home.php in
 your template directory, it mean you want it as a home)

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/12907>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list