projects
/
WP-Themes
/
meetmtp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dc31983
)
Add check for is_home on epicenter blog sidebar
author
Laury GvR
<laury@gaslightmedia.com>
Tue, 16 Apr 2019 17:54:43 +0000
(13:54 -0400)
committer
Laury GvR
<laury@gaslightmedia.com>
Tue, 16 Apr 2019 17:54:43 +0000
(13:54 -0400)
templates/sidebar-1.php
patch
|
blob
|
history
diff --git
a/templates/sidebar-1.php
b/templates/sidebar-1.php
index
61649ac
..
2529151
100644
(file)
--- a/
templates/sidebar-1.php
+++ b/
templates/sidebar-1.php
@@
-25,13
+25,15
@@
if (in_category(70)) {
} else {
echo "avada-custom-sidebar-epicentersidebar is not active";
} ?>
-
+ }
<?php
-
} else
if (is_home()) {
+ if (is_home()) {
echo "Do stuff when is_home()";
}
} else {
-
+ if (is_home()) {
+ echo "Do stuff when is_home()";
+ }
$sticky_sidebar = in_array( 'fusion-sticky-sidebar', apply_filters( 'fusion_sidebar_1_class', array() ) );
?>
<?php if ( $sticky_sidebar ) : ?>