Moving jobs into content area
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 14 Mar 2016 15:29:50 +0000 (11:29 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 14 Mar 2016 15:29:50 +0000 (11:29 -0400)
if a search is done then doshortcode

page-260.php

index b014ebc..aff096d 100644 (file)
                 get_template_part('parts/bread-crumbs');
                 ?>
             </div>
-            <div id="staffords-employment-app" class="row">
-                <div class="small-12 columns">
-                    <?php if (shortcode_exists('glmjobs')) {echo do_shortcode('[glmjobs]');}?>
-                </div>
-            </div>
             <div class="row">
                 <div id="main-content" class="small-12 columns">
                 <?php
                     <?php endwhile; else:?>
                     <p><?php _e('Sorry, no posts yet');?></p>
                     <?php endif;?>
+            <?php else: ?>
+                <div id="staffords-employment-app" class="row">
+                    <div class="small-12 columns">
+                        <?php if (shortcode_exists('glmjobs')) {echo do_shortcode('[glmjobs]');}?>
+                    </div>
+                </div>
             <?php endif;?>
                 </div>
             </div>