<div>
<?php
echo do_shortcode("[metaslider id=24]");
+ echo do_shortcode("[metaslider id=28]");
?>
</div>
<?php
</div>
</div>
<div class="row">
- <div class="small-12 large-9 columns">
- <div class="row">
- <div id="large-12_s" class="small-12 small-push-0 medium-push-0 large-12 large-push-4 columns">
- <input type="text" id="lar-search" placeholder=" Search the site">
+ <div class="small-12 large-9 columns search-form">
+ <form role="search" method="get" id="searchform" action="<?php echo home_url('/'); ?>">
+ <div class="row">
+ <div id="large-12_s" class="small-12 small-push-0 medium-push-0 large-12 large-push-4 columns">
+ <input type="text" value="" name="s" id="lar-search" placeholder=" Search the site">
+ </div>
+ <div id="top_angle" class="large-1 large-push-4 show-for-large-up columns"></div>
</div>
- <div id="top_angle" class="large-1 large-push-4 show-for-large-up columns"></div>
- </div>
+ </form>
+ <?php do_action('foundationPress_after_searchform'); ?>
</div>
<div class="row">
<div class="small-12 medium-6 medium-push-5 columns">
--- /dev/null
+<?php get_header(); ?>
+<div id="panel">
+ <div class="row">
+ <div class="small-12 columns">
+ <img id="still" src="<?php echo get_template_directory_uri(); ?>/assets/header_img.jpg">
+ </div>
+ </div>
+ <div class="row">
+ <div class="small-11 small-centered columns">
+ <h1 id="pan-text">Helping You Build With Confidence Since 1915</h1>
+ </div>
+ </div>
+</div>
+<div class="row">
+ <div id="searchform_container" class="small-12 medium-3 columns alignright">
+ <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
+ <div><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" /> </div>
+ </form>
+ </div>
+ <div id="blog-posts-over" class="small-12 medium-9 columns">
+
+ <?php if(have_posts()): $i = 1; while (have_posts() && $i < 6) : the_post(); ?>
+ <div class="row content" id="blog-posts-container">
+ <div class="small-11 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()?>>
+ <header class="entry-header">
+
+ <h2 class="entry-title"><a href="<?php the_permalink(); ?>"><?php the_title();?></a></h2>
+ <span class="meta"> Posted on <strong><?php the_time('F jS, Y'); ?></strong> </span>
+
+
+ </header>
+
+ <?php echo the_advanced_excerpt('length=200&length_type=words&no_custom=1&ellipsis=%26hellip;'); ?>
+ <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 class="row content small-12 medium-3">
+ <div id="blog-side-info" class="alignright small-12 medium-3">
+
+ <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>
+ <?php get_footer(); ?>
<div id="ngg-image-<?php echo $image->pid ?>" class="ngg-gallery-thumbnail-box imgBorderMe" <?php echo $image->style ?> >
<div class="ngg-gallery-thumbnail" >
- <a href="<?php echo nggcf_get_field($image->pid, "url") ?>"
+ <a href="<?php echo nggcf_get_field($image->pid, "video_url") ?>"
title="<?php echo esc_attr($image->description) ?>"
data-src="<?php echo nextgen_esc_url($image->imageURL) ?>"
data-thumbnail="<?php echo nextgen_esc_url($image->thumbnailURL); ?>"
data-image-id="<?php echo esc_attr($image->pid); ?>"
data-title="<?php echo esc_attr($image->alttext); ?>"
data-description="<?php echo esc_attr($image->description); ?>"
- data-url="<?php echo nggcf_get_field($image->pid, "url"); ?>"
+ data-url="<?php echo nggcf_get_field($image->pid, "video_url"); ?>"
<?php echo $image->thumbcode ?> >
<?php if ( !$image->hidden ) { ?>
--- /dev/null
+
+
+<?php get_header(); ?>
+
+<div class="row">
+ <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-11 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>
+ </div>
+ </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>
+ <?php get_footer(); ?>