From: Anthony Talarico Date: Thu, 31 May 2018 18:36:27 +0000 (-0400) Subject: removing duplicate front page content from the index file X-Git-Tag: v1.0.0^2~9 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=e389411e100f4832054961c995e756c6d03a7cbe;p=WP-Themes%2Fhpakidscamp.git removing duplicate front page content from the index file --- diff --git a/index.php b/index.php index 5405eee..7003c10 100644 --- 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 '