<?php get_header();?>
<div id="wrap">
<div id="main-container">
<?php if(have_posts()):?><?php while(have_posts()):the_post();?>
<div class="title-bar">
<div class="date-block">
<div class="month"><?php the_time('M');?></div><!--month-->
<div class="day"><?php the_time('j');?></div><!--day-->
</div><!--date-block-->
<div class="post-title"><a href="<?php the_permalink(); ?>" title="<?php the_title();?>"><?php the_title();?> </a></div><!--post-title-->
</div><!--title-bar-->

<div class="post-content">
<?php the_excerpt();?>
</div><!--post-content-->
<div class="post-meta">
Опубликовано в рубрике: <?php the_category(',')?> , <?php comments_number('0 комментариев', '1 комментарий', '% комментариев');?>
</div><!--post-meta-->
<div class="author-box">
<div class="author-description"><?php the_author_description(); ?></div><!--author-description-->
<?php echo get_avatar( get_the_author_id() , 40 ); ?>	
<div class="author-name"><a href="<?php the_author_url(); ?>"><?php the_author_firstname(); ?> <?php the_author_lastname(); ?></a></div><!--author-name-->
</div><!--author-box-->




<?php endwhile;?>
<?php posts_nav_link();?>
<?php endif;?>

</div><!--main-container-->

<?php get_sidebar()?>
<?php get_footer()?>