fix conflict
authorSteve Sutton <steve@gaslightmedia.com>
Fri, 15 Jan 2016 15:20:40 +0000 (10:20 -0500)
committerSteve Sutton <steve@gaslightmedia.com>
Fri, 15 Jan 2016 15:20:40 +0000 (10:20 -0500)
1  2 
index.php

diff --cc index.php
+++ b/index.php
                  </div>
              </div>
              <div class="row">
-                 <?php if(!(is_page(2670))) { ?>
+                 <?php
+                 $isEmploymentAppPage = false;
+                 if (shortcode_exists('glmjobs')) {
+                     $isEmploymentAppPage = true;
+                     $applyOnline = (isset($_REQUEST['applyOnline']))
+                         ? filter_var($_REQUEST['applyOnline'], FILTER_VALIDATE_INT)
+                         : false;
+                     $job = (isset($_REQUEST['job']))
+                         ? filter_var($_REQUEST['job'], FILTER_VALIDATE_INT)
+                         : false;
+                     $search = (isset($_REQUEST['glm_job_search']))
+                         ? filter_var($_REQUEST['glm_job_search'], FILTER_VALIDATE_BOOLEAN)
+                         : false;
+                 }
+                 ?>
+                 <?php if( !(is_page(2670)) && !$isEmploymentAppPage ) { ?>
                  <div id="main-content" class="small-12 large-8 columns right">
-                         <?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 if(have_posts()) : while(have_posts()): the_post();?>
+                             <?php the_content();?>
+                             <?php endwhile; else:?>
+                             <p><?php _e('Sorry, no results found.');?></p>
+                             <?php endif;?>
                  </div>
-               
 -                <div class="side-links Large-4 show-for-large-up columns">
++
 +                <div class="side-links Large-4 show-for-large-up columns left">
                      <?php get_sidebar(); ?>
                  </div>
                  <?php } else { ?>