Remove archives list
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 29 Jun 2015 16:07:31 +0000 (12:07 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 29 Jun 2015 16:07:31 +0000 (12:07 -0400)
single.php

index e562c4c..0b91b5c 100644 (file)
@@ -1,5 +1,5 @@
 <?php get_header(); ?>
-    <main class="blog-single">    
+    <main class="blog-single">
         <div class="row">
             <div id="blog-posts-over" class="small-12 medium-9 columns">
                 <?php if(have_posts()) : while(have_posts()): the_post();?>
@@ -7,7 +7,7 @@
                     <?php
                      get_template_part('parts/bread-crumbs');
                     ?>
-                </div> 
+                </div>
                 <div class="row blog-post-container">
                     <div class="small-12 small-centered columns">
                         <div class="row">
@@ -67,8 +67,6 @@
                             }
                     ?>
                     </ul>
-                    <p>Recipe Archive</p>
-                    <ul><?php wp_get_archives( array( 'type' => 'monthly', 'limit' => 12 ) ); ?></ul>
                     <p>Recipe Categories</p>
                     <ul>
                         <?php
@@ -77,8 +75,8 @@
                         '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> ';  } 
+                        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>