<div class="row show-for-large-up">
- <?php $artPage = 193;?>
+ <?php $artPage = get_post(193);?>
+
<?php if($artPage):?>
<a class="top-logo" href="<?php echo get_page_link($artPage->ID);?>"><img src="<?php bloginfo('template_url'); ?>/assets/staffords-gallery.png"></a>
<?php endif;?>
</div>
<div class="row show-for-small-down">
<div class="small-11 small-centered text-center columns">
+ <?php $artPage = get_post(193);?>
+
<?php if($artPage):?>
<a href="<?php echo get_page_link($artPage->ID);?>"><img src="<?php bloginfo('template_url'); ?>/assets/staffords-gallery.jpg"></a>
<?php endif;?>
<a class="left-off-canvas-toggle menu-icon" href="#"><span>Menu</span></a>
</section>
<section class="middle tab-bar-section">
+
+ <?php $artPage = get_post(193);?>
+
<?php if($artPage):?>
<a href="<?php echo get_page_link($artPage->ID);?>"><img class="show-for-medium-only" src="<?php bloginfo('template_url'); ?>/assets/staffords-gallery.png"></a>
<?php endif;?>
<div class="row show-for-large-up">
- <?php $bayPage = get_page_by_title('Bay View Inn');?>
+ <?php $bayPage = get_post(310);?>
<?php if($bayPage):?>
<a class="top-logo" href="<?php echo get_page_link($bayPage->ID);?>"><img src="<?php bloginfo('template_url'); ?>/assets/staffords-bay-view-inn.png"></a>
<?php endif;?>
</div>
<div class="row show-for-small-down">
<div class="small-11 small-centered text-center columns">
- <?php $bayPage = get_page_by_title('Bay View Inn');?>
+ <?php $bayPage = get_post(310);?>
<?php if($bayPage):?>
<a href="<?php echo get_page_link($bayPage->ID);?>"><img src="<?php bloginfo('template_url'); ?>/assets/staffords-bay-view-inn.jpg"></a>
<?php endif;?>
<a class="left-off-canvas-toggle menu-icon" href="#"><span>Menu</span></a>
</section>
<section class="middle tab-bar-section">
- <?php $bayPage = get_page_by_title('Bay View Inn');?>
+ <?php $bayPage = get_post(310);?>
<?php if($bayPage):?>
<a href="<?php echo get_page_link($bayPage->ID);?>"><img class="show-for-medium-only" src="<?php bloginfo('template_url'); ?>/assets/staffords-bay-view-inn.png"></a>
<?php endif;?>
<div class="row show-for-large-up">
- <?php $pointerPage = get_page_by_title('The Pointer Boat');?>
+ <?php $pointerPage = get_post(230);?>
<?php if($pointerPage):?>
<a class="top-logo" href="<?php echo get_page_link($pointerPage->ID);?>"><img src="<?php bloginfo('template_url'); ?>/assets/Staffords-oval.png"></a>
<?php endif;?>
</div>
<div class="row show-for-small-down">
<div class="small-11 small-centered text-center columns">
- <?php $pointerPage = get_page_by_title('The Pointer Boat');?>
+ <?php $pointerPage = get_post(230);?>
<?php if($pointerPage):?>
<a href="<?php echo get_page_link($pointerPage->ID);?>"><img src="<?php bloginfo('template_url'); ?>/assets/staffords-logo-oval.jpg"></a>
<?php endif;?>
<a class="left-off-canvas-toggle menu-icon" href="#"><span>Menu</span></a>
</section>
<section class="middle tab-bar-section">
- <?php $pointerPage = get_page_by_title('The Pointer Boat');?>
+ <?php $pointerPage = get_post(230);?>
<?php if($pointerPage):?>
<a href="<?php echo get_page_link($pointerPage->ID);?>"><img class="show-for-medium-only" src="<?php bloginfo('template_url'); ?>/assets/Staffords-oval.png"></a>
<?php endif;?>