Fix index page template references
authorLaury GvR <laury@gaslightmedia.com>
Wed, 15 May 2019 19:21:03 +0000 (15:21 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 15 May 2019 19:21:03 +0000 (15:21 -0400)
index.php

index 34e3f25..bd02d2b 100644 (file)
--- 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";