<?php
/*
Template Name: Category
*/
get_header();?>



<div id="main" role="main">				
				<div class="pagecontent">					
					<div class="cols">
                   			
						 <div class="sidebar">
                        
                      <nav class="testimonials">   <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar_left')) : else : ?>  
       
    <?php endif; ?></nav> </div>	
                     		
	
	<div><h1><?php single_cat_title(); ?></h1>	
  
  
        <?php if(have_posts()) : ?><?php while(have_posts()) : the_post(); ?>
         
         <article class="post">
        <!-- <a href="<?php the_permalink(); ?>"> <?php the_post_thumbnail(); ?> </a> -->
		<div> <header> <h1><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h1>
    <div class="meta">	 <time datetime="<?php the_permalink(); ?>"><?php echo get_the_date(); ?></time> </div></header>
            <p><?php the_content(); ?></p></div></article>
            
             
       

 <?php endwhile; else: ?>
 <p><?php _e('There are no posts to display.'); ?></p>

 



  
        
        <?php endif; ?> 
         <nav class="neighbors"><ul><li class="prev"><?php previous_post('&laquo; &laquo; %', 'Previous', 'no'); ?></li><li class="next">  <?php next_post('% &raquo; &raquo; ', 'Next', 'no'); ?></li></ul></nav>
    
   


	</div>			
    
			<div class="sidebar">
                        
                         <?php if (function_exists('dynamic_sidebar') && dynamic_sidebar('sidebar_main')) : else : ?>  
       
    <?php endif; ?> </div>	 	
				  </div>				
				</div>				
			</div>

<?php get_footer();?>