projects
/
WP-Themes
/
uptravel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6d5b43
)
Don't show the blog Archive template as a duplicate on the blog Category page
author
Laury GvR
<laury@gaslightmedia.com>
Fri, 3 May 2019 20:56:45 +0000
(16:56 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Fri, 3 May 2019 20:56:45 +0000
(16:56 -0400)
index.php
patch
|
blob
|
history
diff --git
a/index.php
b/index.php
index
8cbeba1
..
48cff60
100644
(file)
--- 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()) {