Remove sidebar on auction posts
authorLaury GvR <laury@gaslightmedia.com>
Tue, 22 May 2018 16:53:55 +0000 (12:53 -0400)
committerLaury GvR <laury@gaslightmedia.com>
Tue, 22 May 2018 16:53:55 +0000 (12:53 -0400)
parts/header-meta.php
sections/blog-single.php
style.css

index 9ac38d0..ba5c42d 100644 (file)
@@ -2,7 +2,7 @@
     <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.11.0">
+    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.13.0">
     <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.ico">
     <link href="//fonts.googleapis.com/css?family=Cinzel" rel="stylesheet">
     <link href='//fonts.googleapis.com/css?family=Open+Sans:400,400italic,700' rel='stylesheet' type='text/css'>
index d69ed64..406c265 100644 (file)
@@ -1,6 +1,10 @@
 <main class="blog-single">
     <div class="row">
+        <?php if (!is_post_type('ultimate-auction')) { ?>
         <div id="blog-posts-over" class="small-12 medium-9 columns">
+        <?php } else { ?>
+        <div id="blog-posts-over" class="small-12 medium-12 columns">
+        <?php } ?>
             <?php if(have_posts()) : while(have_posts()): the_post();?>
             <div class="row blog-post-container">
                 <div class="small-11 small-centered columns">
@@ -21,6 +25,8 @@
             </div><!-- /#post-404 -->
             <?php endif;?>
         </div>
-        <?php get_template_part('parts/blog-sidebar-r'); ?>
+        <?php if (!is_post_type('ultimate-auction')) { ?> 
+            <?php get_template_part('parts/blog-sidebar-r'); ?>
+        <?php } ?>
     </div>
 </main>
\ No newline at end of file
index 433e10d..12d00be 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: MiGCSA
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for MiGCSA
-Version: 1.0.12
+Version: 1.0.13
 */