File: /home/reachcon/public_html/wp-content/themes/reach-connects/search.php
<?php
// The template for displaying Search Results pages
get_header();
// Search Security System
if(isset($_GET['s'])){ checkSearchValue($_GET['s']); }
?>
<main class="row spc">
<div class="large-9 medium-8 columns">
<div id="primary" class="site-content">
<div id="content" role="main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'omada' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
</header>
<?php //omada_content_nav( 'nav-above' ); ?>
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php get_template_part( 'content', get_post_format() ); ?>
<?php echo '<div class="spc"></div>'; ?>
<?php endwhile; ?>
<div class="row"><div class="large-6 medium-9 medium-centered columns"><?php omada_content_nav( 'nav-below' ); ?></div></div>
<?php else : ?>
<div class="post no-results not-found">
<header class="entry-header">
<h1 class="entry-title"><?php _e( 'Nothing Found', 'omada' ); ?></h1>
</header>
<div class="entry-content">
<p><?php _e( 'Sorry, but nothing matched your search criteria. Please try again with some different keywords.', 'omada' ); ?></p>
<?php get_search_form(); ?>
</div><!-- .entry-content -->
</div><!-- #post-0 -->
<?php endif; ?>
</div>
</div>
</div>
<div class="large-3 medium-4 columns">
<div id="secondary" class="widget-area" role="complementary">
<?php if ( is_active_sidebar( 'sidebar-1' ) ) : ?>
<aside class="first front-widgets">
<?php dynamic_sidebar( 'sidebar-1' ); ?>
</aside>
<?php endif; ?>
</div>
</div>
</main><div class="spc"></div>
<?php get_footer(); ?>