Send overlay search requests to site-search page, show members of chosen selection
authorLaury GvR <laury@gaslightmedia.com>
Wed, 15 May 2019 20:42:07 +0000 (16:42 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 15 May 2019 20:42:07 +0000 (16:42 -0400)
parts/content-none.php
sections/footer.php
sections/search.php

index 192dc32..78d2292 100644 (file)
@@ -14,9 +14,6 @@
 
 <section class="no-results not-found">
 
-
-
-
        <div class="page-content">
 
                <?php if ( is_search() ) : ?>
index ed320a5..7960c9a 100644 (file)
@@ -142,24 +142,13 @@ $cities = $decode_array['cities'];
 
             </form>
 
-
             <div class="search-results-list">
                 <?php echo esc_url( home_url() ); ?>
             </div>
 
-             </div>
-
+        </div>
     </div>
 
-    <script>
-
-
-
-
-
-    </script>
-
-
 </div>
 
 
index 82fcf4f..55f02e0 100644 (file)
@@ -4,9 +4,11 @@
     </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><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>
+        <!-- <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 column">
@@ -17,7 +19,7 @@
                     <?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', 'wmta' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
+                            <h1 class="page-title">Search Results for: <?php printf( esc_html__( '%s', 'uptravel' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
                         </header><!-- .page-heade-->
 
                         <?php display_memberfindme_directory() ?>
@@ -28,7 +30,7 @@
                     <?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', 'wmta' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
+                        <h1 class="page-title"><?php printf( esc_html__( 'Related News for: %s', 'uptravel' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
                     </header><!-- .page-header -->
 
 
@@ -41,7 +43,7 @@
                          * 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( 'template-parts/content', 'search' );
+                        get_template_part( 'parts/content-search' );
 
                     endwhile;
 
@@ -49,7 +51,7 @@
 
                 else :
 
-                    get_template_part( 'template-parts/content', 'none' );
+                    get_template_part( 'parts/content-none' );
 
                 endif; ?>