Update landing pages for the member searching
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 4 Mar 2016 15:11:46 +0000 (10:11 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 4 Mar 2016 15:11:46 +0000 (10:11 -0500)
When searching hide the main page content

landing-page.php

index ee0fbb8..60e6ce9 100644 (file)
@@ -11,11 +11,13 @@ Template Name: Landing Page
     <div id="content-wrapper">
         <div class="row">
             <div id="main-content" class="small-12 columns text-center">
+            <?php if ( !isset( $_REQUEST['glm_action'] ) ) : ?>
                 <?php if(have_posts()) : while(have_posts()): the_post();?>
                 <?php the_content();?>
                 <?php endwhile; else:?>
                 <p><?php _e('Sorry, no results found.');?></p>
                 <?php endif;?>
+            <?php endif;?>
             </div>
         </div>
         <div class="row">