-
Notifications
You must be signed in to change notification settings - Fork 0
/
archive.php
42 lines (24 loc) · 1.15 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
35
36
37
38
39
40
41
42
<?php get_header(); ?>
<?php get_template_part('content', 'button'); ?>
<div class="container">
<div class="row">
<div class="col-sm-8 blog-main">
<div class="blog-post">
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<h2 class="blog-post-title" id="blog-post-1"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h2>
<p class="blog-post-meta">by <?php the_author_posts_link(); ?> on <?php the_time('F j, Y'); ?></p>
<p><a href="<?php comments_link(); ?>"><?php comments_number(); ?></a></p>
<p><?php echo strip_tags (get_the_excerpt() ); ?></p>
<?php endwhile; else : ?>
<p><?php _e( 'Sorry, no pages found.', 'jh-career-coaching' ); ?></p>
<?php endif; ?>
<ul class="pager">
<li><?php next_posts_link( 'Older posts' ); ?></li>
<li><?php previous_posts_link( 'Newer posts' ); ?></li>
</ul>
</div><!-- /.blog-post -->
</div><!-- /.blog-main -->
<?php get_sidebar(); ?>
</div><!-- /.row -->
</div><!-- /.container -->
<?php get_footer(); ?>