-
Notifications
You must be signed in to change notification settings - Fork 1
/
archive.php
34 lines (27 loc) · 1.02 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
34
<?php get_header(); ?>
<div class="container-fluid">
<?php if(have_posts()): ?>
<?php while(have_posts()):the_post(); ?>
<div class="post col-md-12" id="post-<?php the_ID(); ?>">
<h3><a href="<?php the_permalink();?>" title="<?php the_title();?>"><?php the_title();?></a></h3>
<div class="entry col-md-12">
<?php the_excerpt(); ?>
<p class="postmetadata">
<?php _e('Filed under:'); ?><?php the_category(', ') ?>
<?php _e('by'); ?> <?php the_author(); ?><br />
<?php comments_popup_link('No Comments »', '1 Comment »', '% Comments »'); ?>
<?php edit_post_link('Edit', ' | ', ''); ?>
</p>
</div>
</div>
<?php endwhile; ?>
<div class="navigation col-md-12">
<?php posts_nav_link('Current Page','Previous Page','Next Page');?>
</div>
<?php else:?>
<div class="post col-md-12">
<h2><?php _e('Not Found');?></h2>
</div>
<?php endif; ?>
</div>
<?php get_footer(); ?>