<div id="header-featured">
<?php echo glm_get_header(); ?>
</div>
- <div class="row">
- <?php if (get_search_query() == "") { ?>
- <br><h2 class="search-result-header small-12 columns">Please enter a query in the search box. </h2>
- <br><h6 class="search-result-header small-12 columns">get_search_query() returned empty. </h6>
- <?php } else { ?>
- <br><h2 class="search-result-header small-12 columns">Search Results for "<?php echo get_search_query(); ?>"</h2>
- <?php } ?>
- </div>
<div class="body-content row">
<div class="small-12 columns">
<?php if ( have_posts() && strlen( trim(get_search_query()) ) != 0 ) : ?>
<header class="page-header">
- <h1 class="page-title">Search Results for: <?php printf( esc_html__( '%s', 'uptravel' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
+ <h1 class="page-title"> for: <?php printf( esc_html__( '%s', 'uptravel' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
</header><!-- .page-heade-->
<?php display_memberfindme_directory() ?>
<?php endif; ?>
- <?php if ( have_posts() && strlen( trim(get_search_query()) ) != 0 ) : ?>
+ <?php// if ( have_posts() && strlen( trim(get_search_query()) ) != 0 ) : ?>
- <header class="page-header">
- <h1 class="page-title"><?php printf( esc_html__( 'Related News for: %s', 'uptravel' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
- </header><!-- .page-header -->
+ <!-- <header class="page-header">
+ <h1 class="page-title"><?php //printf( esc_html__( 'Related News for: %s', 'uptravel' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
+ </header> -->
<?php
/* Start the Loop */
- while ( have_posts() ) : the_post();
+ //while ( have_posts() ) : the_post();
/**
* Run the loop for the search to output the results.
* If you want to overload this in a child theme then include a file
* called content-search.php and that will be used instead.
*/
- get_template_part( 'parts/content-search' );
+ // get_template_part( 'parts/content-search' );
- endwhile;
+ //endwhile;
- the_posts_navigation();
+ //the_posts_navigation();
- else :
+ //else :
- get_template_part( 'parts/content-none' );
+ //get_template_part( 'parts/content-none' );
- endif; ?>
+ //endif; ?>
</main><!-- #main -->
</section><!-- #primary -->