removed more Ste Marie specific items
authorIan Weller <ian@gaslightmedia.com>
Thu, 12 Jan 2017 21:40:31 +0000 (16:40 -0500)
committerIan Weller <ian@gaslightmedia.com>
Thu, 12 Jan 2017 21:40:31 +0000 (16:40 -0500)
I commented out the default feature image

functions.php
header.php

index dc50e6d..a8603e3 100644 (file)
@@ -165,14 +165,14 @@ function glm_get_featured() {
     if (has_post_thumbnail($post_id) && (!(is_home()) ) && (!(is_single())) && (!(is_archive())) && (!(is_search()))) {
         $image_data = wp_get_attachment_image_src(get_post_thumbnail_id($post_id), "full");
         $imageUrl = '<div class="featured-container"><div class="featured-image" style="background: url(\''.$image_data[0].'\') no-repeat scroll 0px 0px / cover;;"></div></div>';
-    } elseif(is_single() && is_post_type('ai1ec_event')){
-        $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(123), "full");
-        $imageUrl = '<div class="featured-container"><div class="featured-image" style="background: url(\''.$image_data[0].'\') no-repeat scroll 0px 0px / cover;;"></div></div>';
-    } elseif(is_post_type('post')) {
-        $imageUrl = '<div class="featured-container"><div class="featured-image" style="background: url(\''.get_template_directory_uri().'/assets/Downtown.jpg\') no-repeat scroll 0px 0px / cover;;"></div></div>';
-    }
-    else {
-        $imageUrl = '<div class="featured-container"><div class="featured-image" style="background: url(\''.get_template_directory_uri().'/assets/Downtown.jpg\') no-repeat scroll 0px 0px / cover;;"></div></div>';
+//    } elseif(is_single() && is_post_type('ai1ec_event')){
+//        $image_data = wp_get_attachment_image_src(get_post_thumbnail_id(123), "full");
+//        $imageUrl = '<div class="featured-container"><div class="featured-image" style="background: url(\''.$image_data[0].'\') no-repeat scroll 0px 0px / cover;;"></div></div>';
+//    } elseif(is_post_type('post')) {
+//        $imageUrl = '<div class="featured-container"><div class="featured-image" style="background: url(\''.get_template_directory_uri().'/assets/Downtown.jpg\') no-repeat scroll 0px 0px / cover;;"></div></div>';
+//    }
+//    else {
+//        $imageUrl = '<div class="featured-container"><div class="featured-image" style="background: url(\''.get_template_directory_uri().'/assets/Downtown.jpg\') no-repeat scroll 0px 0px / cover;;"></div></div>';
     }
     return $imageUrl;
 }
index d0feae3..4ce6824 100644 (file)
@@ -5,10 +5,8 @@
     <meta charset="utf-8" />
     <meta name="viewport" content="width=device-width, initial-scale=1.0" />
     <title><?php wp_title(); ?></title>
-    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.45">
-    <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri() ; ?>/assets/favicon.ico">
+    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css">
     <link href='http://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
-    <link href='http://fonts.googleapis.com/css?family=Crimson+Text:600italic' rel='stylesheet' type='text/css'>
     <?php wp_head(); ?>
     <script>
         var base_url = '<?php echo get_stylesheet_directory_uri();?>/';