</div>
<div class="row">
<div id="blog-posts-over" class="small-12 medium-9 columns">
- <?php echo "<h2>home.php</h2>"; ?>
+ <?php echo "<h2>index.php</h2>"; ?>
<?php if(have_posts()): $i = 1; while (have_posts() && $i < 6) : the_post(); ?>
<div class="row content" id="blog-posts-container">
<div class="small-12 small-centered columns">
<div class="row">
<div class="small-12 columns">
-
<article id="<?php the_ID()?>" <?php post_class()?>>
<header class="entry-header">
-
- <span class="meta"> Posted on <strong><?php the_time('F jS, Y'); ?></strong> </span>
<h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
-
-
- </header>
-
- <?php echo the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;'); ?>
+ <span class="meta"> Posted on <strong><?php the_time('F jS, Y'); ?></strong> </span>
+ </header>
+ <?php echo the_content(); ?>
<hr>
</article>
</div>
</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>
<div id="offer" class="row">
-
-
<?php get_header(); ?>
-
-<div class="page-wrapper">
- <h2 class="search-result-header">Search Results for "<?php echo get_search_query(); ?>"</h2>
- <div id="blog-posts-over" class="small-12 columns">
-
- <?php if(have_posts()): $i = 1; while (have_posts() && $i < 6) : the_post(); ?>
- <div class="content" id="blog-posts-container">
- <div class="small-12 small-centered columns">
- <div class="row">
- <div class="small-12 columns">
-<!-- <ul class="breadcrumbs">
-
- </ul>-->
- </div>
- </div>
- <div class="row">
- <div class="small-12 columns">
-
- <article id="<?php the_ID()?>" <?php post_class()?>>
- <h2 class="">Page: <a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
- <hr>
- <?php the_post_thumbnail(); ?>
- <?php echo the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;'); ?>
- <footer class="entry-meta small-12 medium-6 medium-push-3 center">
-
- <?php $post_categories = wp_get_post_categories( get_the_ID() );
- $cats = array();
-
- ?>
-
- </footer>
- <hr>
- </article>
+ <div class="content">
+ <div class="row">
+ <div class="small-12 medium-5 columns"><img class="right under" src="<?php bloginfo('template_url'); ?>/assets/under-nav_left.png"></div>
+ <div class="small-12 medium-5 columns"><img class="left under" src="<?php bloginfo('template_url'); ?>/assets/under-nav_right.png"></div>
+ </div>
+ <div id="searchform_container" class="small-12 medium-3 columns alignright">
+ <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
+ <input id="s" class="text" type="text" name="s" value="" />
+ <input class="submit button blogbutton" type="submit" name="submit" value="Search" />
+ <input type="hidden" name="searchType" value="blog" />
+ </form>
+ </div>
+ <div class="row">
+ <div id="blog-posts-over" class="small-12 medium-9 columns">
+ <h2 class="search-result-header">Search Results for "<?php echo get_search_query(); ?>"</h2>
+ <?php if(have_posts()): $i = 1; while (have_posts() && $i < 6) : the_post(); ?>
+ <div class="row content" id="blog-posts-container">
+ <div class="small-12 small-centered columns">
+ <div class="row">
+ <div class="small-12 columns">
+ <article id="<?php the_ID()?>" <?php post_class()?>>
+ <h2 class="">Page: <a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
+ <hr>
+ <?php the_excerpt() ?>
+ <hr>
+ </article>
+ </div>
+ </div>
</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>
+ <div id="blog-side-info" class="alignright small-12 medium-3">
+ <p>Recent Releases</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>
+ <div id="offer" class="row">
+ <div class="small-12 medium-4 columns text-center">
+ <a href="{secureBaseURL:h}2-for--1-passport-16/"><img src="<?php bloginfo('template_url'); ?>/assets/interior_offer.png"></a>
+ </div>
+ <div id="plan" class="small-12 medium-4 columns text-center">
+ <a href="{baseURLDefined:h}free-planner-3/"><img src="<?php bloginfo('template_url'); ?>/assets/planner.png"></a>
+ </div>
+ <div id="promo" class="small-12 medium-4 columns text-center">
+ <img src="<?php bloginfo('template_url'); ?>/assets/promo.png">
+ <a class="button" href="{baseURLDefined:h}e-club-sign-up-32/">Sign Up</a>
</div>
</div>
- <?php endwhile; ?>
- <?php if ( function_exists('FoundationPress_pagination') ) { FoundationPress_pagination(); } else if ( is_paged() ) { ?>
- <nav id="post-nav">
- <div class="post-previous"><?php next_posts_link( __( '← Older results', 'FoundationPress' ) ); ?></div>
- <div class="post-next"><?php previous_posts_link( __( 'Newer results →', 'FoundationPress' ) ); ?></div>
- </nav>
- <?php } ?>
- <?php else: ?>
- <div id="post-404" class="noposts">
- <p><?php _e('Sorry, no results were found.');?></p>
- </div><!-- /#post-404 -->
- <?php endif;?>
+ <div class="row sub-content">
+ <div class="small-12 columns text-center">
+ <h2 id="tagline">17 Spectacular Courses Sculpted Among Michigan's Northern Forests</h2>
+ </div>
+ </div>
</div>
<?php get_footer(); ?>