Make WordPress Core


Ignore:
Timestamp:
04/28/2010 07:48:09 AM (15 years ago)
Author:
westi
Message:

Introduce a template file for the Front Page of a site. Has priority over every other template which applies and falls back to the standard template flow for the page / list of posts.
Fixes #6801

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/template-loader.php

    r13819 r14276  
    2424    elseif ( is_search()         && $template = get_search_template()         ) :
    2525    elseif ( is_tax()            && $template = get_taxonomy_template()       ) :
     26    elseif ( is_front_page()     && $template = get_front_page_template()     ) :
    2627    elseif ( is_home()           && $template = get_home_template()           ) :
    2728    elseif ( is_attachment()     && $template = get_attachment_template()     ) :
Note: See TracChangeset for help on using the changeset viewer.