Add main content wrapper around content area
authorLaury GvR <laury@gaslightmedia.com>
Mon, 4 Mar 2019 23:49:47 +0000 (18:49 -0500)
committerLaury GvR <laury@gaslightmedia.com>
Mon, 4 Mar 2019 23:49:47 +0000 (18:49 -0500)
parts/header-meta.php
sections/banquets-page.php
style.css

index 5695e6e..aabb726 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.0.0">
+    <link rel="stylesheet" href="<?php echo get_stylesheet_directory_uri() ; ?>/css/app.css?v=1.0.2.0">
     <link rel="shortcut icon" href="<?php echo get_stylesheet_directory_uri(); ?>/favicon.png?v=1.0">
     <link href='https://fonts.googleapis.com/css?family=Cormorant+Garamond' rel='stylesheet' type='text/css'>
     <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
index f240514..e87bcc6 100644 (file)
@@ -1,26 +1,32 @@
-<div class="row">
-    <div class="small-12 columns">
-    <?php 
-        if(function_exists('bcn_display') && !is_front_page())
-            {
-            echo "<div class=\"breadcrumbs small-12 columns\">";
-            echo '<span class="st_sharethis" st_title="'. get_the_title().'" st_url="'. get_the_permalink() .'"></span>'; 
-            bcn_display();
-            echo "</div>";
-        }
-    ?>
-    </div>
-    <div class="small-12 medium-6 columns">
-        <?php if (function_exists('the_field') && get_field('video-adjacent_content')) { ?>
-            <?php echo the_field('video-adjacent_content'); ?>
-        <?php } ?>
-    </div>
-    <div class="small-12 medium-6 columns">
-        <?php if ( is_active_sidebar( 'video-widget' ) ) : ?>
-           <?php dynamic_sidebar( 'video-widget' ); ?>
-         <?php endif; ?>
-    </div>
-    <div class="small-12 columns">
-        <?php get_template_part('parts/main-content'); ?>
+<div id="main-content" class="small-12 columns">
+    <div class="row">
+        <div class="small-12 columns">
+        <?php 
+            if(function_exists('bcn_display') && !is_front_page())
+                {
+                echo "<div class=\"breadcrumbs small-12 columns\">";
+                echo '<span class="st_sharethis" st_title="'. get_the_title().'" st_url="'. get_the_permalink() .'"></span>'; 
+                bcn_display();
+                echo "</div>";
+            }
+        ?>
+        </div>
+        <div class="small-12 medium-6 columns">
+            <?php if (function_exists('the_field') && get_field('video-adjacent_content')) { ?>
+                <?php echo the_field('video-adjacent_content'); ?>
+            <?php } ?>
+        </div>
+        <div class="small-12 medium-6 columns">
+            <?php if ( is_active_sidebar( 'video-widget' ) ) : ?>
+            <?php dynamic_sidebar( 'video-widget' ); ?>
+            <?php endif; ?>
+        </div>
+        <div class="small-12 columns">
+            <?php if(have_posts()) : while(have_posts()): the_post();?>
+            <?php the_content();?>
+            <?php endwhile; else:?>
+            <p><?php _e('Sorry, no posts yet');?></p>
+            <?php endif;?>
+        </div>
     </div>
 </div>
index dba4ab3..2af5c73 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,5 +3,5 @@ Theme Name: ltbaygolf
 Author: Gaslight Media
 Author URI: http://www.gaslightmedia.com
 Description: A theme for Little Traverse Bay Golf
-Version: 1.0.1
+Version: 1.0.2
 */