From: Laury GvR Date: Fri, 11 May 2018 13:56:14 +0000 (-0400) Subject: Don't also show interior page template when visiting the home page X-Git-Tag: v1.0.0^2~40 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/?a=commitdiff_plain;h=d774be12d09d8a8f83a6f760e90c7c881fecd295;p=WP-Themes%2Fharborpointassociation2018.git Don't also show interior page template when visiting the home page --- diff --git a/index.php b/index.php index ef10145..9c998ce 100644 --- a/index.php +++ b/index.php @@ -26,8 +26,7 @@ } if (is_page( HOMEPAGE_ID )) { include "sections/home-page.php"; - } - if (is_page() && !is_front_page()) { + } else if (is_page() && !is_front_page()) { include "sections/interior-page.php"; } echo ''; ?> - +