<?php get_header(); ?>
-<main class="blog-home">
+<main class="blog-archive">
<article <?php post_class() ?> id="interior">
<?php GLM_get_header(); ?>
</article>
</div><!-- /#post-404 -->
<?php endif;?>
</div>
- <div id="blog-side-info-wrapper" class="small-11 small-only-text-center medium-3 columns">
- <div id="blog-side-info">
- <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
- <div><input id="s" class="text" type="text" name="s" value="" />
- <input class="submit blogbutton" type="submit" name="submit" value="Search" />
- <input type="hidden" name="searchType" value="blog" /> </div>
- </form>
- <p>Recent Posts</p>
- <ul>
- <?php
- $args = array( 'numberposts' => '5' );
- $recent_posts = wp_get_recent_posts( $args );
- foreach( $recent_posts as $recent ){
- echo '<li><a href="' . get_permalink($recent["ID"]) . '">' . $recent["post_title"].'</a> </li> ';
- }
- ?>
- </ul>
- <p>Archive</p>
- <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
- <p>Categories</p>
- <ul>
- <?php
- $args = array(
- 'orderby' => 'name',
- 'order' => 'ASC'
- );
- $categories = get_categories($args);
- foreach($categories as $category) {
- echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> '; }
- ?>
- </ul>
- </div>
- </div>
+ <?php get_template_part('parts/blog-sidebar-r'); ?>
</div>
<?php get_footer(); ?>
<?php get_header(); ?>
-<main>
+<main class="page-front">
<div class="row">
<?php get_template_part('parts/slide-show');?>
</div>
</div><!-- /#post-404 -->
<?php endif;?>
</div>
- <div id="blog-side-info-wrapper" class="small-11 small-only-text-center medium-3 columns">
- <div id="blog-side-info">
- <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
- <div><input id="s" class="text" type="text" name="s" value="" />
- <input class="submit blogbutton" type="submit" name="submit" value="Search the Blog" />
- <input type="hidden" name="searchType" value="blog" /> </div>
- </form>
- <p>Recent Posts</p>
- <ul>
- <?php
- $args = array( 'numberposts' => '5' );
- $recent_posts = wp_get_recent_posts( $args );
- foreach( $recent_posts as $recent ){
- echo '<li><a href="' . get_permalink($recent["ID"]) . '">' . $recent["post_title"].'</a> </li> ';
- }
- ?>
- </ul>
- <p>Archive</p>
- <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
- <p>Categories</p>
- <ul>
- <?php
- $args = array(
- 'orderby' => 'name',
- 'order' => 'ASC'
- );
- $categories = get_categories($args);
- foreach($categories as $category) {
- echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> '; }
- ?>
- </ul>
- </div>
- </div>
+ <?php get_template_part('parts/blog-sidebar-r'); ?>
</div>
<?php get_footer(); ?>
<?php get_header(); ?>
-<main>
+<main class="page-inside">
<?php if (is_page("kitchensink")) {
get_template_part('parts/glm-kitchen-sink');
} else { ?>
--- /dev/null
+ <div id="blog-side-info-wrapper" class="small-11 small-only-text-center medium-3 columns">
+ <div id="blog-side-info">
+ <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
+ <div><input id="s" class="text" type="text" name="s" value="" />
+ <input class="submit blogbutton" type="submit" name="submit" value="Search" />
+ <input type="hidden" name="searchType" value="blog" /> </div>
+ </form>
+ <p>Recent Posts</p>
+ <ul>
+ <?php
+ $args = array( 'numberposts' => '5' );
+ $recent_posts = wp_get_recent_posts( $args );
+ foreach( $recent_posts as $recent ){
+ echo '<li><a href="' . get_permalink($recent["ID"]) . '">' . $recent["post_title"].'</a> </li> ';
+ }
+ ?>
+ </ul>
+ <p>Archive</p>
+ <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
+ <p>Categories</p>
+ <ul>
+ <?php
+ $args = array(
+ 'orderby' => 'name',
+ 'order' => 'ASC'
+ );
+ $categories = get_categories($args);
+ foreach($categories as $category) {
+ echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> '; }
+ ?>
+ </ul>
+ </div>
+ </div>
\ No newline at end of file
</div><!-- /#post-404 -->
<?php endif;?>
</div>
- <div id="blog-side-info-wrapper" class="small-11 small-only-text-center medium-3 columns">
- <div id="blog-side-info">
- <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
- <div><input id="s" class="text" type="text" name="s" value="" />
- <input class="submit blogbutton" type="submit" name="submit" value="Search" />
- <input type="hidden" name="searchType" value="blog" /> </div>
- </form>
- <p>Recent Posts</p>
- <ul>
- <?php
- $args = array( 'numberposts' => '5' );
- $recent_posts = wp_get_recent_posts( $args );
- foreach( $recent_posts as $recent ){
- echo '<li><a href="' . get_permalink($recent["ID"]) . '">' . $recent["post_title"].'</a> </li> ';
- }
- ?>
- </ul>
- <p>Archive</p>
- <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
- <p>Categories</p>
- <ul>
- <?php
- $args = array(
- 'orderby' => 'name',
- 'order' => 'ASC'
- );
- $categories = get_categories($args);
- foreach($categories as $category) {
- echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> '; }
- ?>
- </ul>
- </div>
- </div>
+ <?php get_template_part('parts/blog-sidebar-r'); ?>
</div>
<?php get_footer(); ?>