</div>
<div class="row">
<div class="small-12 text-center columns sub-foot">
- <p>© 2014 Emmet County, Michigan • All Rights Reserved</p>
+ <p>© <?php echo date('Y');?> Emmet County, Michigan • All Rights Reserved</p>
</div>
</div>
<div class="row">
<div class="small-12 text-center columns" id="gas">
- <p>Produced by <a href="http://www.gaslightmedia.com">Gaslight Media</a></p>
+ <p>Produced by <a href="http://www.gaslightmedia.com" target="_blank">Gaslight Media</a></p>
</div>
</div>
<a class="exit-off-canvas"></a>
</div><!--/inner-wrap-->
</div><!--/off-canvas-->
-
+
</body>
<?php wp_footer();?>
</html>
\ No newline at end of file
<div class="row">
<div class="small-12 columns side_space">
<div>
- <?php
- echo do_shortcode("[metaslider id=24]");
- echo do_shortcode("[metaslider id=28]");
+ <?php
+ echo do_shortcode("[metaslider id=24]");
+ echo do_shortcode("[metaslider id=28]");
?>
</div>
<?php
$lastposts = get_posts( $args );
foreach($lastposts as $post) : setup_postdata($post); ?>
<div>
-
+
<div class="row">
<div class="small-8 small-centered medium-4 medium-uncentered columns">
<?php echo get_the_post_thumbnail($post->ID, array(190, 190), array('class' => 'blog-excerpt-img-wrap')); ?>
</div>
<div class="small-12 medium-8 columns">
<h3 class="title-posts" href="<?php the_permalink(); ?>"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
-
+
<p id="date" class="italic"><?php echo get_the_date('D, F j, Y g:iA', $post->ID); ?></p>
-
+
<div><?php echo the_advanced_excerpt('length=75&length_type=words&no_custom=1&ellipsis=%26hellip;&exclude_tags=img,p,strong'); ?></div>
</div>
</div>
</div>
<?php endforeach; ?>
</div>
-
+
<div class="cycle-pager small-12 medium-8 right">
<a id="button-a" href="#" onclick="$('.cycle-slideshow').cycle('prev');return false;"><div class="left cycle-button">Previous</div></a>
<a id="button-b" href="#" onclick="$('.cycle-slideshow').cycle('next');return false;"><div class="right cycle-button">Next</div></a>
<!--events-->
<div class="row">
<div id="h2_2" class="small-10 text-centered columns">
- <h2 class="small-push-1">2014 Holiday Schedule</h2>
+ <h2 class="small-push-1"><?php echo date('Y');?> Holiday Schedule</h2>
</div>
</div>
<div class="row event">
<div class="medium-11 medium-push-1 columns side_space">
- <div class="img small-7 small-centered medium-5 columns">
+ <div class="img small-7 small-centered medium-5 columns">
<div
<?php
if ( has_post_thumbnail($homepage_ID) ) {
if( ! function_exists( 'has_post_thumbnail' ) )
{
function has_post_thumbnail( $pid )
- {
+ {
return get_post_meta( $pid, '_thumbnail_id', true );
}
}
true
);
}
-
+
if(is_page('videos')) {
wp_enqueue_script('glm_ngg_video_gallery', get_template_directory_uri() . '/js/custom/glm-ngg-video-gallery.js','jquery','1.0.0', true );
}
/* Header for posts*/
function GLM_get_header() {
echo '<header';
-
+
if (has_post_thumbnail()) {
$image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "full");
- echo ' style="background: url('.$image_data[0].');min-height: '.$image_data[2].'px;';
+ echo ' style="background: url('.$image_data[0].');min-height: '.$image_data[2].'px; repeat: no-repeat;';
} else {
echo ' style="display: none"';
}
<a id="contact" href="<?php echo esc_url( get_permalink( get_page_by_title( 'Contact Us' ) ) ); ?>">
<img src="<?php bloginfo('template_url'); ?>/assets/mail.jpg">
</a>
- <a id="face" href="http://www.Facebook.com/EmmetCountyRecycling">
+ <a id="face" href="http://www.Facebook.com/EmmetCountyRecycling" target="_blank">
<img src="<?php bloginfo('template_url'); ?>/assets/facebook.jpg">
</a>
<!-- <a id="tweet" href="#"><img src="<?php bloginfo('template_url'); ?>/assets/twit.jpg"></a>
</div>
<div id="top_angle" class="large-1 show-for-large-up columns"></div>
</div>
-
+
<div class="row">
<div class="small-12 medium-6 right columns">
<!-- <div class="qbutton"></div><a id="qbutton" value="" name="s" id="lar-search">Is it recyclable?<div></div></a>-->