moving the financial bar below the featured image
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 18 Apr 2018 16:28:23 +0000 (12:28 -0400)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 18 Apr 2018 16:28:23 +0000 (12:28 -0400)
home-page.php

index 0636e0a..7b5bbb3 100644 (file)
@@ -9,7 +9,7 @@
 get_header();
  
        $sections = of_get_option('parallax_section');
-
+    $count = 0;
        if(!empty($sections)):
        foreach ($sections as $section) :
                $page = get_post( $section['page'] ); 
@@ -97,10 +97,22 @@ get_header();
                        
                        <?php if($layout != "googlemap_template") :?>
                        </div>
-                       <?php endif; ?>
+            <?php endif; ?>
+            <?php if($count === 1){ ?>
+            <div id="industries">
+                <div id="industry-group">
+                    <span>Financial</span>
+                    <span>Healthcare</span>
+                    <span>Technology</span>
+                    <span>Manufacturing</span>
+                    <span>Professional Services</span>
+                </div>
+            </div>
+            <?php } ?>
                </section>
        <?php
-       endif; 
+    endif; 
+    $count++;
        endforeach;
        endif;
 ?>