Make WordPress Core

Opened 15 years ago

Closed 15 years ago

#12907 closed defect (bug) (fixed)

page-slug.php template not working for static front page

Reported by: thomask's profile thomask Owned by:
Milestone: 3.0 Priority: normal
Severity: normal Version: 3.0
Component: Template Keywords:
Focuses: Cc:

Description

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)

Change History (2)

#1 @dd32
15 years ago

(In [14152]) Fix page-<pageslug>.php templates for static front pages. See #12907

#2 @dd32
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

as for home.php, See #12593, #7715, #6801

Note: See TracTickets for help on using tickets.