Events & Blog fits better with sidebar and blog-sidebar
authorLaury GvR <laury@gaslightmedia.com>
Wed, 13 May 2015 16:52:50 +0000 (12:52 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 13 May 2015 16:52:50 +0000 (12:52 -0400)
header.php
page.php
single.php

index 323de66..f5949fc 100644 (file)
@@ -29,9 +29,9 @@
                                 <?php get_template_part('parts/search');?>
                             </div>
                             <div class="show-for-large-up social">
-                                <a href="#"><img src="<?php echo get_template_directory_uri(); ?>/assets/youtube.jpg"></a>
-                                <a href="#"><img src="<?php echo get_template_directory_uri(); ?>/assets/twitter.png"></a>
-                                <a href="#"><img src="<?php echo get_template_directory_uri(); ?>/assets/facebook.png"></a>
+                                <a href="http://www.youtube.com/gappold" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/assets/youtube.jpg"></a>
+                                <a href="http://twitter.com/#!/emmetcounty/" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/assets/twitter.png"></a>
+                                <a href="http://www.facebook.com/pages/Emmet-County-Michigan/118331701536408" target="_blank"><img src="<?php echo get_template_directory_uri(); ?>/assets/facebook.png"></a>
                             </div>
                         </div>
                     </div>
index dac4a49..dd9363c 100644 (file)
--- a/page.php
+++ b/page.php
@@ -2,7 +2,11 @@
                 <main>
                     <div class="row" data-equalizer>
                         <?php get_sidebar(); ?>
+                        <?php if (is_page("Event Calendar")) { ?>
+                        <div id="content-bulk" class="small-12 large-9 columns" data-equalizer-watch>
+                        <?php } else { ?>
                         <div id="content-bulk" class="small-12 large-6 columns" data-equalizer-watch>
+                        <?php } ?>
                             <div id="con" class="row">
                                 <div class="small-12 columns">
                                     <?php
index 95e681c..ad60e9d 100644 (file)
@@ -47,6 +47,8 @@
                 </div><!-- /#post-404 -->
                 <?php endif;?>
             </div>
+            <?php if (get_post_type( $post ) == "ai1ec_event") {
+            } else { ?>
             <div id="blog-side-info-wrapper" class="small-11 small-only-text-center medium-3 columns">
                 <div id="blog-side-info">
                     <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
@@ -80,5 +82,6 @@
                     </ul>
                 </div>
             </div>
+            <?php } ?>
         </div>
         <?php get_footer(); ?>