<main class="page-front">
<?php get_template_part('parts/slide-show');?>
<div id="content-wrapper">
- <div id="blocks-row">
- <div class="row">
- <?php $blocks = fetch_all_glm_blocks( ); ?>
- <div class="blocks">
- <?php foreach ($blocks as $block):?>
- <div class="text-center small-12 medium-4 columns block">
- <?php if($block->url):?>
- <a href="<?php echo $block->url;?>"<?php if($block->externalUrl){echo ' target="_blank"';}?>>
- <?php endif;?>
- <?php echo get_the_post_thumbnail($block->ID, 'glm-block-image');?>
- <?php if($block->url):?>
- </a>
- <?php endif;?>
- <?php if($block->url):?>
- <a class="title-posts" href="<?php echo $block->url;?>"<?php if($block->externalUrl){echo ' target="_blank"';}?>>
- <?php endif;?>
- <h3><?php echo $block->post_title;?></h3>
- <?php if($block->url):?>
- </a>
- <?php endif;?>
- <p><?php echo apply_filters('the_content', $block->post_content) . $block->post_excerpt;?></p>
- <?php if($block->url):?>
- <a class="blocks-readmore" href="<?php echo $block->url;?>"></a>
- <?php endif;?>
- </div>
- <?php endforeach;?>
- </div>
- </div>
- </div>
+
<div class="row">
<div id="front-content" class="small-centered small-12 medium-7 columns">
<div class="row">
<?php get_template_part('parts/main-content');?>
- <div id="special-button" class="text-center small-12 columns">
-<!-- <a class="reserve" href="<?php //echo get_permalink(371); ?>">Reserve Your Space</a>-->
- </div>
+<!-- <div id="special-button" class="text-center small-12 columns">
+ <a class="reserve" href="<?php //echo get_permalink(371); ?>">Reserve Your Space</a>
+ </div>
+-->
</div>
</div>
<!-- <div class="small-12 medium-6 large-4 columns small-text-center medium-text-left">
<?php //get_sidebar(); ?>
- </div>-->
+ </div>
+-->
</div>
</div>
-->
<header class="main opensearchserver.ignore">
<div class="row">
- <a class="logo left show-for-large-up" href="<?php bloginfo('url'); ?>">Logo Here</a>
- <div class="small-12 columns text-center show-for-medium-down">
- <a class="logo" href="<?php bloginfo('url'); ?>">Logo Here</a>
- </div>
- <?php get_template_part('sections/top-bar');?>
+ <?php get_custom_logo($blog_id = 0 );?>
+ <?php the_custom_logo($blog_id = 0 );?>
+ <?php
+ if ( is_front_page() && is_home() ) : ?>
+ <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
+ <?php else : ?>
+ <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
+ <?php endif;
+
+ $description = get_bloginfo( 'description', 'display' );
+ if ( $description || is_customize_preview() ) : ?>
+ <p class="site-description"><?php echo $description; ?></p>
+ <?php endif;
+ ?>
</div>
+ <?php get_template_part('sections/top-bar');?>
</header>
\ No newline at end of file