From: Laury GvR Date: Wed, 15 May 2019 19:21:03 +0000 (-0400) Subject: Fix index page template references X-Git-Tag: v1.0.5^2~20 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=ba251df543b10c3018fe9e9576cd615c9f811a07;p=WP-Themes%2Fuptravel.git Fix index page template references --- diff --git a/index.php b/index.php index 34e3f25..bd02d2b 100644 --- a/index.php +++ b/index.php @@ -13,7 +13,8 @@ include "parts/slideshow.php"; if (is_front_page()) { include "sections/front-page.php"; - } else if (is_home()) { + } + if (is_home()) { include "sections/blog-home.php"; } else if (is_category() ) { include "sections/blog-category.php"; @@ -21,7 +22,8 @@ include "sections/blog-archive.php"; } else if (is_single()) { include "sections/blog-single.php"; - } else if (is_search()) { + } + if (is_search()) { include "sections/search.php"; } else if (is_page() && !is_front_page()) { include "sections/interior-page.php";