adding front page seasonal blocks styles in the tabs, adding crowdriff to the countie...
authorAnthony Talarico <talarico@gaslightmedia.com>
Wed, 23 Jan 2019 20:56:56 +0000 (15:56 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Wed, 23 Jan 2019 20:56:56 +0000 (15:56 -0500)
sections/front-page.php
sections/interior-page.php

index fb257d0..d34d97c 100644 (file)
@@ -39,4 +39,9 @@
         <?php get_template_part('parts/enews-sticky'); ?>
        
     </div>
-</main>
\ No newline at end of file
+</main>
+<style>
+    .ui-tabs-active.ui-state-active{
+        background: #5E8F72 !important;
+    }
+</style>
\ No newline at end of file
index db73bbb..193ac22 100644 (file)
@@ -9,7 +9,7 @@
         <?php if ( $post->ID == $countiesPageId ) { ?>
             <?php 
                 // I'm the counties page
-                echo "I'm the counties page"; 
+                
             ?>
         <?php } else if ( wp_get_post_parent_id( $post ) == $countiesPageId ) { ?>
             <?php 
@@ -53,7 +53,7 @@
                 ?>
             </div>
         <?php } else { ?>
-            Cannot find the associate ID for this county.
+           
         <?php } ?>
 
         <?php if ( $showCountyButtons ) { ?>
                 <?php $image = wp_get_attachment_image_src(get_post_thumbnail_id($post->ID), 'large'); ?>
               
                 <?php endif; ?>
+                <?php if (function_exists('the_field') && get_field('interior_header_crowdriff_script',$post->ID)) { ?>
+                    <div id="header-crowdriff">
+                        <?php echo the_field('interior_header_crowdriff_script',$post->ID); ?>
+                    </div>
+                <?php }  ?>
                 <div id="county-buttons-container" class="row" >
                     <div id="county-buttons">