Don't show default interior image on event registration pages
authorLaury GvR <laury@gaslightmedia.com>
Wed, 23 Oct 2019 15:20:29 +0000 (11:20 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Wed, 23 Oct 2019 15:20:29 +0000 (11:20 -0400)
functions.php
parts/header-meta.php
style.css

index 82797b0..d16dca2 100644 (file)
@@ -143,7 +143,7 @@ function glm_get_header($memberID = false) {
 //            echo '</div>';
 //            echo '</div>';
 //        }
-    } else {
+    } else if ( $post->id != 122 ) { // usn't the event registration page
         $featured_classes[] = "interior-default";
         echo '<div';
         echo ' style="background-image: url('.$default_image_path.');'
index d1e2cd2..5c37258 100644 (file)
@@ -2,9 +2,9 @@
     <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.0">
+    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.3">
     <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.png">
     <link href='https://fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
     <link href="https://fonts.googleapis.com/css?family=El+Messiri" rel="stylesheet">
     <?php wp_head(); ?>
-  </head>
\ No newline at end of file
+  </head>
index 2d0dd51..8078d84 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: destinationmi
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for Destination Michigan
-Version: 1.0.2
+Version: 1.0.3
 */