- Linked up social media icons.
- Linked up the schedule on the frontpage
- Moved /main from footer into every file that starts <main
<?php echo glm_get_header();?>
</div>
<div id="slide-cover"></div>
- <div class="row">
-
- <div id="blog-posts-over" class="small-12 medium-9 columns">
- <?php if(have_posts()) : while(have_posts()): the_post();?>
- <?php $status = get_post_status($post->ID); ?>
- <div class="row content blog-posts-container">
- <!-- <div class="small-11 small-centered columns"> -->
- <div class="small-12">
- <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
- </div>
- <?php
- if (has_post_thumbnail()) {
- $image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), "full");
- echo '<a href="'.get_the_permalink().'" class="blog-featured-home small-12 medium-6" style="background-image:url('.$image_data[0].');"></a>';
- echo '<div class="small-12 medium-6 small-centered columns right">';
- } else {
- echo '<div class="small-12 small-centered columns">';
- }
- ?>
- <article id="<?php the_ID()?>" <?php post_class()?>>
- <div class="blog-excerpt-date">
- Posted on <strong><?php the_time('F jS, Y'); ?></strong>
+ <div class="row">
+
+ <div id="blog-posts-over" class="small-12 medium-9 columns">
+ <?php if(have_posts()) : while(have_posts()): the_post();?>
+ <?php $status = get_post_status($post->ID); ?>
+ <div class="row content blog-posts-container">
+ <!-- <div class="small-11 small-centered columns"> -->
+ <div class="small-12">
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
</div>
- <?php echo the_advanced_excerpt(); ?>
- <hr class="contentBreak">
-
- </article>
+ <?php
+ if (has_post_thumbnail()) {
+ $image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), "full");
+ echo '<a href="'.get_the_permalink().'" class="blog-featured-home small-12 medium-6" style="background-image:url('.$image_data[0].');"></a>';
+ echo '<div class="small-12 medium-6 small-centered columns right">';
+ } else {
+ echo '<div class="small-12 small-centered columns">';
+ }
+ ?>
+ <article id="<?php the_ID()?>" <?php post_class()?>>
+ <div class="blog-excerpt-date">
+ Posted on <strong><?php the_time('F jS, Y'); ?></strong>
+ </div>
+ <?php echo the_advanced_excerpt(); ?>
+ <hr class="contentBreak">
+
+ </article>
+ </div>
</div>
+ <?php endwhile; ?>
+ <div class="navigation">
+ <span class="newer"><?php previous_posts_link(__('« Newer','example')) ?></span>
+ <span class="older"><?php next_posts_link(__('Older »','example')) ?></span>
+ </div><!-- /.navigation -->
+ <?php else: ?>
+ <div id="post-404" class="noposts">
+ <p><?php _e('Sorry, no results were found.');?></p>
+ </div><!-- /#post-404 -->
+ <?php endif;?>
</div>
- <?php endwhile; ?>
- <div class="navigation">
- <span class="newer"><?php previous_posts_link(__('« Newer','example')) ?></span>
- <span class="older"><?php next_posts_link(__('Older »','example')) ?></span>
- </div><!-- /.navigation -->
- <?php else: ?>
- <div id="post-404" class="noposts">
- <p><?php _e('Sorry, no results were found.');?></p>
- </div><!-- /#post-404 -->
- <?php endif;?>
- </div>
- <?php get_template_part('parts/blog-sidebar-r'); ?>
-</div>
+ <?php get_template_part('parts/blog-sidebar-r'); ?>
+ </div><!-- Slide-cover???--->
+</main><!--End of main-->
<?php get_footer(); ?>
- </main><!--End of main-->
- <div id="space">
- <h1>#StarLineFerry</h1>
+ <div id="space">
+ <h1>#StarLineFerry</h1>
+ </div>
+ <footer class="main">
+ <?php if (is_active_sidebar('sidebar-f')) :?>
+ <?php dynamic_sidebar('sidebar-f');?>
+ <?php endif;?>
+ <div class="row">
+ <div class="small-10 small-centered medium-uncentered medium-4 large-3 columns small-text-center">
+ <a href="<?php bloginfo('url')?>"><img alt="footer logo" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/star-line-circle-logo.png"></a>
+ </div>
+ <div class="medium-4 large-5 columns show-for-medium-up foot-menu">
+ <?php glm_theme_footer(); ?>
+ </div>
+ <div class="medium-4 columns show-for-medium-up">
+ <?php get_template_part('parts/client-info-footer');?>
+ <ul class="social">
+ <li><a class="facebook" href="https://www.facebook.com/starlineferry/" target="_blank"></a></li>
+ <li><a class="insta" href="https://www.instagram.com/explore/locations/275623542/" target="_blank"></a></li>
+ <li><a class="tube" href="https://www.youtube.com/channel/UCeym3wynlVDPpVs3kmbBeGQ" target="_blank"></a></li>
+ </ul>
</div>
- <footer class="main">
- <?php if (is_active_sidebar('sidebar-f')) :?>
- <?php dynamic_sidebar('sidebar-f');?>
- <?php endif;?>
- <div class="row">
- <div class="small-10 small-centered medium-uncentered medium-4 large-3 columns small-text-center">
- <a href="<?php bloginfo('url')?>"><img alt="footer logo" src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/star-line-circle-logo.png"></a>
- </div>
- <div class="medium-4 large-5 columns show-for-medium-up foot-menu">
- <?php glm_theme_footer(); ?>
- </div>
- <div class="medium-4 columns show-for-medium-up">
- <?php get_template_part('parts/client-info-footer');?>
- <ul class="social">
- <li><a class="facebook" href="#" target="_blank"></a></li>
- <li><a class="insta" href="#" target="_blank"></a></li>
- <li><a class="tube" href="#" target="_blank"></a></li>
- </ul>
- </div>
- </div>
- </footer>
+ </div>
+ </footer>
<div id="copyright">
<span>Copyright © <?php echo date('Y');?> </span>
<span class="bullet"> • </span>
-->
<div class="action-items">
<div class="row">
- <div class="small-12 medium-6 text-center columns">
- <a href="#"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/buy-tickets-graphics.png"></a>
- <a href="#"><h5>Buy Ferry <br>Tickets</h5></a>
+ <div class="buy-tickets small-12 medium-6 text-center columns">
+ <a href="<?php echo get_permalink(40)?>"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/buy-tickets-graphics.png"></a>
+ <a href="<?php echo get_permalink(40)?>"><h5>Buy Ferry <br>Tickets</h5></a>
</div>
- <div class="small-12 medium-6 text-center columns">
- <a><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/schedules-covers.png"></a>
- <a href="#" target="_blank"><h5>Download <br>Schedule</h5></a>
+ <div class="get-schedule small-12 medium-6 text-center columns">
+ <a href="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/schedules/2016-1_Winter_Schedule.pdf" target="_blank"><img src="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/schedules-covers.png"></a>
+ <a href="<?php echo esc_url( get_template_directory_uri() ); ?>/assets/schedules/2016-1_Winter_Schedule.pdf" target="_blank"><h5>Download <br>Schedule</h5></a>
</div>
</div>
</div>
</div>
</div>
</div>
-
+</main><!--End of main-->
<?php get_footer(); ?>
</div>
<?php get_template_part('parts/blog-sidebar-r'); ?>
</div>
- <?php get_footer(); ?>
+</main><!--End of main-->
+<?php get_footer(); ?>
<div id="header-image" class="page-header">
<?php echo glm_get_header();?>
</div>
-
-
- <div id="content-wrapper">
- <div class="row">
- <?php
- get_template_part('parts/bread-crumbs');
- ?>
- </div>
- <div class="row">
-
- </div>
- <div class="row">
- <div id="main-content" class="small-12 columns">
- <?php if(have_posts()) : while(have_posts()): the_post();?>
- <?php the_content();?>
- <?php endwhile; else:?>
- <p><?php _e('Sorry, no results found.');?></p>
- <?php endif;?>
- </div>
- </div>
- <?php if (is_page(101)) {
- $terms = get_terms( 'product_tag' );
- $term_array = array();
-
- if ( ! empty( $terms ) && ! is_wp_error( $terms ) ){ ?>
- <div class="row">
- <div id="tours-tags-grid-container">
- <ul id="tours-tags-grid">
- <?php foreach ( $terms as $term ) {
- $thumbnail = z_taxonomy_image_url( $term->term_id ); ?>
- <?php if( empty( $thumbnail ) ){
- $thumbnail = get_template_directory_uri() . '/assets/header-images-2.jpg';
- }?>
- <li class="tour_tag"><div class="tag_image" style="height: 200px; width: 200px;background: url('<?php echo $thumbnail; ?> ') no-repeat center center;background-size: cover;"></div><a href=" <?php echo get_term_link($term->term_id); ?>"> <?php echo $term->name; ?> </a></li>
- <?php }
- }
-
- } ?>
- </ul>
- </div>
+ <div id="content-wrapper">
+ <div class="row">
+ <?php
+ get_template_part('parts/bread-crumbs');
+ ?>
+ </div>
+ <div class="row">
+ <div id="main-content" class="small-12 columns">
+ <?php if(have_posts()) : while(have_posts()): the_post();?>
+ <?php the_content();?>
+ <?php endwhile; else:?>
+ <p><?php _e('Sorry, no results found.');?></p>
+ <?php endif;?>
</div>
</div>
+ </div>
+</main><!--End of main-->
<?php get_footer(); ?>
<?php glm_theme_mobile_off_canvas(); ?>
<!-- <?php get_template_part('parts/search');?>-->
<ul class="offcavas-social-list">
- <li><a class="facebook" href="#" target="_blank"></a></li>
- <li><a class="insta" href="#" target="_blank"></a></li>
- <li><a class="tube" href="#" target="_blank"></a></li>
+ <li><a class="facebook" href="https://www.facebook.com/starlineferry/" target="_blank"></a></li>
+ <li><a class="insta" href="https://www.instagram.com/explore/locations/275623542/" target="_blank"></a></li>
+ <li><a class="tube" href="https://www.youtube.com/channel/UCeym3wynlVDPpVs3kmbBeGQ" target="_blank"></a></li>
</ul>
<?php glm_theme_footer(); ?>
<?php get_template_part('parts/client-info-offcanvas');?>
<?php } ?> <!-- end empty query check -->
</div>
- <?php get_footer(); ?>
+</main><!--End of main-->
+<?php get_footer(); ?>
</div>
<?php get_template_part('parts/blog-sidebar-r'); ?>
</div>
- <?php get_footer(); ?>
+</main><!--End of main-->
+<?php get_footer(); ?>
<div id="wooImageHoverContainer">
<img>
</div>
+</main><!--End of main-->
<?php get_footer(); ?>
<script>