-
Notifications
You must be signed in to change notification settings - Fork 2
/
archive.php
33 lines (23 loc) · 1.03 KB
/
archive.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php get_header(); ?>
<div class="row">
<div class="col-md-8">
<h1 class="wpbs-very-muted"><i class="fa fa-calendar"></i> <?php wp_title("",true); ?> </h1>
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h3><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
<?php wpbs_list_post_thumbnail(); ?>
<br/><br/>
<p class="wpbs-muted"><i class="fa fa-bookmark"></i> <?php the_category(', ') ?>
<a href="<?php comments_link(); ?>" class="pull-right"><?php comments_number( '<span class="badge">0</span> <i class="fa fa-comment-o"></i>', '<span class="badge">1</span> <i class="fa fa-comment"></i>', '<span class="badge">%</span> <i class="fa fa-comments"></i>' ); ?></a>
</p>
<?php the_excerpt(); ?>
<br/>
<?php endwhile; else: ?>
<p><?php _e('Sorry, there are no posts.'); ?></p>
<?php endif; ?>
<?php wpbs_pagination();?>
</div>
<div class="col-md-4">
<?php get_sidebar(); ?>
</div>
</div>
<?php get_footer(); ?>