<?php get_header(); ?>
<main class="blog-archive">
<div class="row">
- <div id="blog-posts-over" class="small-12 medium-9 columns">
- <?php if(have_posts()) : while(have_posts()): the_post();?>
- <div class="row content blog-posts-container">
- <!-- <div class="small-11 small-centered columns"> -->
- <?php $thumbnail = get_the_post_thumbnail($post->ID, 'blog-feed-front'); ?>
- <?php if ($thumbnail) { ?>
- <div class="small-12 medium-4 columns text-center blog-feed-imgs">
- <?php echo $thumbnail; ?>
- </div>
- <div class="small-12 medium-8 columns blog-feed-contents">
- <?php } else { ?>
- <div class="small-12 columns blog-feed-content">
- <?php } ?>
-
- <article id="<?php the_ID()?>" <?php post_class()?>>
-
- <header class="entry-header">
- <h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h1>
- <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
- </header>
- <?php echo the_advanced_excerpt('length=250&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,div,h1,h2,h3,h4,h5,h6'); ?>
- <!--the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;');-->
- <!-- This could be wrapped in php tags and be functional,
- but it is easier to change this in admin side-->
-
- </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 get_template_part('parts/blog-content'); ?>
<?php get_template_part('parts/blog-sidebar-r'); ?>
</div>
<?php get_footer(); ?>
<title><?php wp_title(); ?></title>
<link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css">
<link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
- <link href='http://fonts.googleapis.com/css?family=Crimson+Text:600italic' rel='stylesheet' type='text/css'>
<?php wp_head(); ?>
</head>
<body>
<?php // GLM_get_header(); ?>
</article> -->
<div class="row">
- <div id="blog-posts-over" class="small-12 medium-9 columns">
- <?php if(have_posts()) : while(have_posts()): the_post();?>
- <div class="row content blog-posts-container">
- <!-- <div class="small-11 small-centered columns"> -->
- <?php $thumbnail = get_the_post_thumbnail($post->ID, 'blog-feed-front'); ?>
- <?php if ($thumbnail) { ?>
- <div class="small-12 medium-4 columns text-center blog-feed-imgs">
- <?php echo $thumbnail; ?>
- </div>
- <div class="small-12 medium-8 columns blog-feed-contents">
- <?php } else { ?>
- <div class="small-12 columns blog-feed-content">
- <?php } ?>
-
- <article id="<?php the_ID()?>" <?php post_class()?>>
-
- <header class="entry-header">
- <h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h1>
- <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
- </header>
- <?php echo the_advanced_excerpt('length=250&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,div,h1,h2,h3,h4,h5,h6'); ?>
- <!--the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;');-->
- <!-- This could be wrapped in php tags and be functional,
- but it is easier to change this in admin side-->
-
- </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 get_template_part('parts/blog-content'); ?>
<?php get_template_part('parts/blog-sidebar-r'); ?>
</div>
<?php get_footer(); ?>
<?php get_header(); ?>
<main class="page-inside">
- <?php if (is_page("kitchensink")) {
- get_template_part('parts/glm-kitchen-sink');
- } else { ?>
- <!-- kitchensink check - delete me before going live -->
<div id="content-wrapper">
<div class="row">
<?php
-->
</div>
</div>
- <?php } ?> <!-- end kitchensink check - delete me before going live -->
<?php get_footer(); ?>
--- /dev/null
+ <div id="blog-posts-over" class="small-12 medium-9 columns">
+ <?php if(have_posts()) : while(have_posts()): the_post();?>
+ <div class="row content blog-posts-container">
+ <!-- <div class="small-11 small-centered columns"> -->
+ <?php $thumbnail = get_the_post_thumbnail($post->ID, 'blog-feed-front'); ?>
+ <?php if ($thumbnail) { ?>
+ <div class="small-12 medium-4 columns text-center blog-feed-imgs">
+ <?php echo $thumbnail; ?>
+ </div>
+ <div class="small-12 medium-8 columns blog-feed-contents">
+ <?php } else { ?>
+ <div class="small-12 columns blog-feed-content">
+ <?php } ?>
+
+ <article id="<?php the_ID()?>" <?php post_class()?>>
+
+ <header class="entry-header">
+ <h1 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h1>
+ <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
+ </header>
+ <?php echo the_advanced_excerpt('length=250&length_type=characters&no_custom=1&ellipsis=%26hellip;&exclude_tags=a,img,p,div,h1,h2,h3,h4,h5,h6'); ?>
+ <!--the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;');-->
+ <!-- This could be wrapped in php tags and be functional,
+ but it is easier to change this in admin side-->
+
+ </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>
\ No newline at end of file
<?php if (glm_get_clientinfo_option('phone')) :?>
<span class="bullet"> • </span><span><?php echo glm_get_clientinfo_option('phone');?></span>
<?php endif;?>
+ <?php if (glm_get_clientinfo_option('phone2')) :?>
+ <span class="bullet"> • </span><span><?php echo glm_get_clientinfo_option('phone2');?></span>
+ <?php endif;?>
<?php if (glm_get_clientinfo_option('email')) :?>
<span class="bullet"> • </span><span><?php echo glm_get_clientinfo_option('email');?></span>
<?php endif;?>
<?php if (glm_get_clientinfo_option('phone')) :?>
<li><?php echo glm_get_clientinfo_option('phone');?></li>
<?php endif;?>
+ <?php if (glm_get_clientinfo_option('phone2')) :?>
+ <span class="bullet"> • </span><span><?php echo glm_get_clientinfo_option('phone2');?></span>
+ <?php endif;?>
<?php if (glm_get_clientinfo_option('email')) :?>
<span class="bullet"> • </span><span><?php echo glm_get_clientinfo_option('email');?></span>
<?php endif;?>
<form role="search" method="get" class="searchform" action="<?php echo home_url('/'); ?>">
<input class="search-input" type="text" placeholder="Search" value="" name="s">
- <input class="search-button" type="submit" value="" name="submit">
+ <input class="search-button button" type="submit" value="" name="submit">
</form>
\ No newline at end of file
<!--
- <div id="side-nav" class="large-3 columns show-for-large-up" data-equalizer-watch>
+ <div id="side-nav" class="show-for-large-up" data-equalizer-watch>
<div class="row collapse">
<?php //glm_side_menu(); ?>
</div>
<?php get_header(); ?>
<main class="blog-single">
<div class="row">
- <div id="blog-posts-over" class="small-12 medium-9 columns">
- <?php if(have_posts()) : while(have_posts()): the_post();?>
- <div class="row blog-post-container">
- <div class="small-11 small-centered columns">
- <div class="row">
- <div class="small-12 columns">
- <article id="<?php the_ID()?>" <?php post_class()?>>
- <header class="entry-header">
- <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
- <?php if ( has_post_thumbnail() ):?>
- <?php if (get_post_type( $post ) != "ai1ec_event") { ?>
- <div class="featured-image-wrap"><?php the_post_thumbnail("large"); ?></div>
- <?php } ?>
- <?php endif; ?>
- <span class="meta date">Posted on <?php the_time('F jS, Y') ?></span>
- </header>
- <?php echo the_content(); ?>
- </article>
- <?php if ( comments_open() || get_comments_number() ) :
- comments_template();
- endif; ?>
- </div>
- </div>
- </div>
- </div>
- <?php endwhile; ?>
- <?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-content'); ?>
<?php get_template_part('parts/blog-sidebar-r'); ?>
</div>
<?php get_footer(); ?>