From: Laury GvR Date: Fri, 3 May 2019 20:56:45 +0000 (-0400) Subject: Don't show the blog Archive template as a duplicate on the blog Category page X-Git-Tag: v1.0.0^2~21 X-Git-Url: http://cvs2.gaslightmedia.com/gitweb/index.cgi?a=commitdiff_plain;h=81a3530e767479195c8e0579021cb37e77483715;p=WP-Themes%2Fuptravel.git Don't show the blog Archive template as a duplicate on the blog Category page --- diff --git a/index.php b/index.php index 8cbeba1..48cff60 100644 --- a/index.php +++ b/index.php @@ -16,14 +16,11 @@ } if (is_home()) { include "sections/blog-home.php"; - } - if (is_category() ) { + } else if (is_category() ) { include "sections/blog-category.php"; - } - if (is_archive()) { + } else if (is_archive()) { include "sections/blog-archive.php"; - } - if (is_single()) { + } else if (is_single()) { include "sections/blog-single.php"; } if (is_search()) {