Tracking codes added, featured images size reduced to 200px
authorLaury GvR <laury@gaslightmedia.com>
Tue, 14 May 2019 15:47:06 +0000 (11:47 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 14 May 2019 15:47:06 +0000 (11:47 -0400)
css/app.css
functions.php
index.php
parts/footer-tracking-codes.php [new file with mode: 0644]
scss/_main.scss
sections/interior-page.php

index eb36a8c..3cbb0c2 100644 (file)
@@ -6859,7 +6859,7 @@ body .cr__load-more-container.cr__clearfix {
   .page-front {
     margin-top: 65px; }
   .blog-category, .blog-archive, .blog-single, .blog-home, .page-inside {
-    margin-top: 155px; } }
+    margin-top: 65px; } }
 
 #county-map {
   text-align: center; }
index aea8f47..536ce6c 100644 (file)
@@ -103,7 +103,7 @@ function glm_get_header() {
 
     if (has_post_thumbnail()  && (!(is_home()) ) && (!(is_single())) && (!(is_archive())) && (!(is_search()))) {
             $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(), "interior-featured");
-            echo ' style="background-image: url('.$image_data[0].');height:0;padding:0;padding-bottom:20%;background-position:center center;background-size: cover;background-repeat:no-repeat;max-height: 420px;min-height: 150px; "';
+            echo ' style="background-image: url('.$image_data[0].');height:0;padding:0;padding-bottom:200px;background-position:center center;background-size: cover;background-repeat:no-repeat;max-height: 200px;min-height: 200px; "';
     } else if ( is_post_type( 'post' ) ) {
             echo ' style="background-image: url('.get_template_directory_uri().'/assets/default-header.png);height:200px;padding:0;padding-bottom:200px;background-position:center center;background-size: cover;background-repeat:no-repeat;max-height: 200px;"';
     } else {
index 48cff60..f543390 100644 (file)
--- a/index.php
+++ b/index.php
         <?php get_template_part('sections/county-map-dropdown'); ?>
         <?php get_template_part('sections/blog-dropdown'); ?>
         
-        
         <ul id="dropdown-events-search" class="sub-menu dropdown">
             <div class="">
                 <?php apply_filters('events_search_widget', ''); ?>  
             </div>
         </ul>
-        
+        <?php include "parts/footer-tracking-codes.php"; ?>
     </body>
 </html>
\ No newline at end of file
diff --git a/parts/footer-tracking-codes.php b/parts/footer-tracking-codes.php
new file mode 100644 (file)
index 0000000..93cc7f8
--- /dev/null
@@ -0,0 +1,195 @@
+
+<?php if (is_page(163)) { // Home ?>
+    <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA Homepage~IP145082, Activity ID: 1565386 -->
+    <!-- Expected URL: http://www.uptravel.com -->
+    
+    <!--
+    Activity ID: 1565386
+    Activity Name: UPTRA Homepage~IP145082
+    Activity Group Name: IP145082: UPTRA
+    -->
+    
+    <!--
+    Start of DoubleClick Floodlight Tag: Please do not remove
+    Activity name of this tag: UPTRA Homepage~IP145082
+    URL of the webpage where the tag is expected to be placed: http://www.uptravel.com
+    This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
+    Creation Date: 01/23/2014
+    -->
+    
+    <IMG SRC="https://ad.doubleclick.net/activity;src=4353659;type=ip145139;cat=uptra530;ord='+ a + '?" WIDTH=1 HEIGHT=1 BORDER=0 style="border:0;padding:0;margin:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;">
+    <img height="1" width="1" alt="" src="https://insight.adsrvr.org/track/evnt/?adv=8aevpsz&ct=0:yephkaln&fmt=3" style="border:0;border-style:none;padding:0;margin:0;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;" />
+    
+    <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
+        
+<?php } else if (is_page(236)) { // Plan Your Trip ?>
+    <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA Plan Your Trip~IP145082, Activity ID: 1565389 -->
+    <!-- Expected URL: http://www.uptravel.com/plan-your-trip-19/ -->
+
+    <!--
+    Activity ID: 1565389
+    Activity Name: UPTRA Plan Your Trip~IP145082
+    Activity Group Name: IP145082: UPTRA
+    -->
+
+    <!--
+    Start of DoubleClick Floodlight Tag: Please do not remove
+    Activity name of this tag: UPTRA Plan Your Trip~IP145082
+    URL of the webpage where the tag is expected to be placed: http://www.uptravel.com/plan-your-trip-19/
+    This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
+    Creation Date: 01/21/2014
+    -->
+    <script type="text/javascript">
+    var axel = Math.random() + "";
+    var a = axel * 10000000000000;
+    //document.write('<iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra192;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
+    var iframe = document.createElement("iframe");
+    iframe.setAttribute("src", 'https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra192;ord=' + a + '?');
+    iframe.setAttribute("width", "1");
+    iframe.setAttribute("height", "1");
+    iframe.setAttribute("frameborder", "0");
+    iframe.setAttribute("style", "display:none;");
+    document.body.appendChild(iframe);
+    </script>
+    <!--<noscript>
+    <iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra192;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
+    </noscript>-->
+
+    <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
+<?php } else if (is_page(191)) { // Special Packages ?>
+    <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA Featured Deals & Promotions~IP145082, Activity ID: 1565399 -->
+    <!-- Expected URL: http://www.uptravel.com/deals--promotions-26/ -->
+
+    <!--
+    Activity ID: 1565399
+    Activity Name: UPTRA Featured Deals & Promotions~IP145082
+    Activity Group Name: IP145082: UPTRA
+    -->
+
+    <!--
+    Start of DoubleClick Floodlight Tag: Please do not remove
+    Activity name of this tag: UPTRA Featured Deals & Promotions~IP145082
+    URL of the webpage where the tag is expected to be placed: http://www.uptravel.com/deals--promotions-26/
+    This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
+    Creation Date: 01/21/2014
+    -->
+    <script type="text/javascript">
+    var axel = Math.random() + "";
+    var a = axel * 10000000000000;
+    //document.write('<iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra445;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
+    var iframe = document.createElement("iframe");
+    iframe.setAttribute("src", 'https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra445;ord=' + a + '?');
+    iframe.setAttribute("width", "1");
+    iframe.setAttribute("height", "1");
+    iframe.setAttribute("frameborder", "0");
+    iframe.setAttribute("style", "display:none;");
+    document.body.appendChild(iframe);
+    </script>
+    <!--<noscript>
+    <iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra445;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
+    </noscript>-->
+
+    <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
+<?php } else if (is_page(242)) { // Enews signup ?>
+    <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA eNews~IP145082, Activity ID: 1565387 -->
+    <!-- Expected URL: https://www.uptravel.com/sign-up-for-enews-11/ -->
+
+    <!--
+    Activity ID: 1565387
+    Activity Name: UPTRA eNews~IP145082
+    Activity Group Name: IP145082: UPTRA
+    -->
+
+    <!--
+    Start of DoubleClick Floodlight Tag: Please do not remove
+    Activity name of this tag: UPTRA eNews~IP145082
+    URL of the webpage where the tag is expected to be placed: http://www.uptravel.com/sign-up-for-enews-11/
+    This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
+    Creation Date: 01/21/2014
+    -->
+    <script type="text/javascript">
+    var axel = Math.random() + "";
+    var a = axel * 10000000000000;
+    //document.write('<iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra355;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
+    var iframe = document.createElement("iframe");
+    iframe.setAttribute("src", 'https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra355;ord=' + a + '?');
+    iframe.setAttribute("width", "1");
+    iframe.setAttribute("height", "1");
+    iframe.setAttribute("frameborder", "0");
+    iframe.setAttribute("style", "display:none;");
+    document.body.appendChild(iframe);
+    </script>
+    <!--<noscript>
+    <iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra355;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
+    </noscript>-->
+
+    <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
+<?php } else if (is_page(167)) { // Shopping and dining ?>
+    <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA Shopping & Dining~IP145082, Activity ID: 1565385 -->
+    <!-- Expected URL: http://www.uptravel.com/shopping---dining-5/ -->
+
+    <!--
+    Activity ID: 1565385
+    Activity Name: UPTRA Shopping & Dining~IP145082
+    Activity Group Name: IP145082: UPTRA
+    -->
+
+    <!--
+    Start of DoubleClick Floodlight Tag: Please do not remove
+    Activity name of this tag: UPTRA Shopping & Dining~IP145082
+    URL of the webpage where the tag is expected to be placed: http://www.uptravel.com/shopping---dining-5/
+    This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
+    Creation Date: 01/21/2014
+    -->
+    <script type="text/javascript">
+    var axel = Math.random() + "";
+    var a = axel * 10000000000000;
+    //document.write('<iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra436;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
+    var iframe = document.createElement("iframe");
+    iframe.setAttribute("src", 'https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra436;ord=' + a + '?');
+    iframe.setAttribute("width", "1");
+    iframe.setAttribute("height", "1");
+    iframe.setAttribute("frameborder", "0");
+    iframe.setAttribute("style", "display:none;");
+    document.body.appendChild(iframe);
+    </script>
+    <!--<noscript>
+    <iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra436;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
+    </noscript>-->
+
+    <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
+<?php } else if (is_page(235)) { // Travel planner ?>
+    <!-- Tag for Activity Group: IP145082: UPTRA, Activity Name: UPTRA Travel Planner~IP145082, Activity ID: 1565388 -->
+    <!-- Expected URL: http://www.uptravel.com/request-travel-planner-10/ -->
+
+    <!--
+    Activity ID: 1565388
+    Activity Name: UPTRA Travel Planner~IP145082
+    Activity Group Name: IP145082: UPTRA
+    -->
+
+    <!--
+    Start of DoubleClick Floodlight Tag: Please do not remove
+    Activity name of this tag: UPTRA Travel Planner~IP145082
+    URL of the webpage where the tag is expected to be placed: http://www.uptravel.com/request-travel-planner-10/
+    This tag must be placed between the <body> and </body> tags, as close as possible to the opening tag.
+    Creation Date: 01/21/2014
+    -->
+    <script type="text/javascript">
+    var axel = Math.random() + "";
+    var a = axel * 10000000000000;
+    //document.write('<iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra595;ord=' + a + '?" width="1" height="1" frameborder="0" style="display:none"></iframe>');
+    var iframe = document.createElement("iframe");
+    iframe.setAttribute("src", 'https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra595;ord=' + a + '?');
+    iframe.setAttribute("width", "1");
+    iframe.setAttribute("height", "1");
+    iframe.setAttribute("frameborder", "0");
+    iframe.setAttribute("style", "display:none;");
+    document.body.appendChild(iframe);
+    </script>
+    <!--<noscript>
+    <iframe src="https://4353659.fls.doubleclick.net/activityi;src=4353659;type=ip145139;cat=uptra595;ord=1?" width="1" height="1" frameborder="0" style="display:none"></iframe>
+    </noscript>-->
+
+    <!-- End of DoubleClick Floodlight Tag: Please do not remove -->
+<?php } ?>
\ No newline at end of file
index 92afa5a..987f71f 100644 (file)
@@ -176,7 +176,7 @@ body .cr__load-more-container.cr__clearfix{
     .blog-single,
     .blog-home,
     .page-inside{
-        margin-top: 155px;
+        margin-top: 65px;
     }
 }
 // Start County Template Styles
index b96748e..6040b03 100644 (file)
             $("#county-content-expand-section").toggleClass("expanded");
         });
     } );
-</script>
-
-<?php 
-
-
-
-?>
\ No newline at end of file
+</script>
\ No newline at end of file