projects
/
WP-Themes
/
crawfordco.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a41f135
)
Hide both sidebars on event template.
author
Steve Sutton
<steve@gaslightmedia.com>
Tue, 7 Feb 2017 13:38:02 +0000
(08:38 -0500)
committer
Steve Sutton
<steve@gaslightmedia.com>
Tue, 7 Feb 2017 13:38:02 +0000
(08:38 -0500)
If it's the event template don't output the sidebars.
parts/sidebar.php
patch
|
blob
|
history
diff --git
a/parts/sidebar.php
b/parts/sidebar.php
index
5b2a364
..
6b1eb78
100644
(file)
--- a/
parts/sidebar.php
+++ b/
parts/sidebar.php
@@
-10,9
+10,9
@@
<?php get_template_part("parts/frontpage-sidebar-dropdown") ?>
</form>
</div>
-<?php } else { ?>
+<?php } else
if ( get_page_template_slug( $post->ID ) !== "events-template.php" )
{ ?>
<div id="contact" class="medium-4 large-3 columns">
<p><?php echo the_field('sidebar'); ?></p>
</div>
-<?php } ?>
\ No newline at end of file
+<?php } ?>