From 81a3530e767479195c8e0579021cb37e77483715 Mon Sep 17 00:00:00 2001 From: Laury GvR Date: Fri, 3 May 2019 16:56:45 -0400 Subject: [PATCH] Don't show the blog Archive template as a duplicate on the blog Category page --- index.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) 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()) { -- 2.17.1