removing duplicate front page content from the index file
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 31 May 2018 18:36:27 +0000 (14:36 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 31 May 2018 18:36:27 +0000 (14:36 -0400)
index.php

index 5405eee..7003c10 100644 (file)
--- a/index.php
+++ b/index.php
@@ -24,9 +24,8 @@
                     if (is_search()) { 
                         include "sections/search.php";
                     }
-                    if (is_page( HOMEPAGE_ID )) {
-                        include "sections/home-page.php";
-                    } else if (is_page() && !is_front_page()) { 
+                  
+                    if (is_page() && !is_front_page()) { 
                         include "sections/interior-page.php"; 
                     }
                     echo '<div id="footer-page-anchor">';