mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-03-31 18:54:29 +00:00
Add home.php template.
git-svn-id: https://develop.svn.wordpress.org/trunk@2223 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1516,7 +1516,10 @@ function get_date_template() {
|
||||
|
||||
function get_home_template() {
|
||||
$template = '';
|
||||
if ( file_exists(TEMPLATEPATH . "/index.php") )
|
||||
|
||||
if ( file_exists(TEMPLATEPATH . "/home.php") )
|
||||
$template = TEMPLATEPATH . "/home.php";
|
||||
else if ( file_exists(TEMPLATEPATH . "/index.php") )
|
||||
$template = TEMPLATEPATH . "/index.php";
|
||||
|
||||
return apply_filters('home_template', $template);
|
||||
|
||||
Reference in New Issue
Block a user