for single page
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 16 Mar 2015 19:37:32 +0000 (15:37 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 16 Mar 2015 19:37:32 +0000 (15:37 -0400)
home.php
single.php

index 7d6f1f9..99f279b 100644 (file)
--- a/home.php
+++ b/home.php
@@ -1,6 +1,6 @@
 <?php get_header(); ?>
                     <div class="main">
-                        <div id="content-wrapper">    
+                        <div id="content-wrapper">
                             <div class="row">
                                 <div class="small-12 columns text-center">
                                     <h1 id="Emer">If this is an emergency, please call 9-1-1</h1>
index 2364fc5..b886650 100644 (file)
@@ -1,17 +1,21 @@
 <?php get_header(); ?>
-<article <?php post_class() ?> id="interior">
-    <?php GLM_get_header(); ?>
-</article>
-
-<div>
-    <div id="searchform_container" class="small-12 medium-3 columns alignright">
-        <form id="searchform" action="<?php bloginfo('url'); ?>" method="get">
-            <div><input id="s" class="text" type="text" name="s" value="" />
-            <input class="submit button blogbutton" type="submit" name="submit" value="Search" />
-            <input type="hidden" name="searchType" value="blog" /> </div>
-        </form>
-    </div>
-    <div id="blog-posts-over" class="small-12 medium-9 columns">
+<div class="main">
+    <div id="content-wrapper">
+        <div class="row">
+            <div class="small-12 columns text-center">
+                <h1 id="Emer">If this is an emergency, please call 9-1-1</h1>
+            </div>
+        </div>
+         <div class="row">
+            <?php
+                echo "<div class=\"breadcrumbs\">";
+                bcn_display();
+                echo "</div>";
+                echo '<div class="separator"><hr></div>';
+            ?>
+         </div>
+         <div class="row">
+            <div id="main-content" class="small-12 medium-6 large-8 columns">
         <?php if(have_posts()) : while(have_posts()): the_post();?>
         <div class="row content" id="blog-posts-container">
             <div class="small-11 small-centered columns">
@@ -23,7 +27,7 @@
                             </header>
                             <?php echo the_content(); ?>
                             <footer class="entry-meta small-12 medium-6 medium-push-3 center">
-                                
+
                                 <?php $post_categories = wp_get_post_categories( get_the_ID() );
                                 $cats = array();
 
@@ -47,7 +51,7 @@
                                         echo '<a rel="category" title="View all posts in '. $tag->name . ' " href="'. $tag->slug .'">'. $tag->name .'</a>, ';
                                     }
                                 }
-                                
+
                                 echo ' on ';
                                 echo ' <span class="meta date"> ' . the_time('F jS, Y') . '. </span>';
                                 ?>
         </div><!-- /#post-404 -->
         <?php endif;?>
     </div>
-    <div class="row small-12 medium-3">
-    <div id="blog-side-info" class="alignright small-12 medium-3">
-        
-        <p>Recent Posts</p>
-        <ul>
-        <?php
-                $args = array( 'numberposts' => '5' );
-                $recent_posts = wp_get_recent_posts( $args );
-                foreach( $recent_posts as $recent ){
-                        echo '<li><a href="' . get_permalink($recent["ID"]) . '">' .   $recent["post_title"].'</a> </li> ';
-                }
-        ?>
-        </ul>
-        <p>Archive</p>
-        <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
-        <p>Categories</p>
-        <ul>
-            <?php
-            $args = array(
-            'orderby' => 'name',
-            'order' => 'ASC'
-            );
-          $categories = get_categories($args);
-            foreach($categories as $category) { 
-              echo '<li><a href="' . get_category_link( $category->term_id ) . '" title="' . sprintf( __( "View all posts in %s" ), $category->name ) . '" ' . '>' . $category->name.'</a> </li> ';  } 
-            ?>
-        </ul>
+             <div class="small-12 medium-6 large-4 columns small-text-center medium-text-left">
+                <?php get_sidebar(); ?>
+            </div>
+        </div>
     </div>
-</div>
-        <?php get_footer(); ?>
+<?php get_footer(); ?>