-
Notifications
You must be signed in to change notification settings - Fork 0
/
author.php
36 lines (35 loc) · 1.07 KB
/
author.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
<?php get_header(); ?>
<div class="top-title-wrapper">
<div class="container">
<div class="row">
<div class="col-md-12 col-sm-12 page-info">
<h1 class="page-title"><?php printf( __( 'Author Archives: %s', 'stt' ), get_the_author() ); ?></h1>
</div>
</div>
</div>
</div>
<div class="space-sep20"></div>
<div class="content-wrapper"><div class="body-wrapper">
<div class="container">
<div class="row">
<div class="col-md-9 col-sm-9">
<h1></h1>
<?php while(have_posts()):the_post();
global $more; $more = 0;
get_template_part( 'content', get_post_format() );
endwhile; ?>
<div class="pagination"><?php
if ( get_next_posts_link() ):
next_posts_link('<span class="prev">←</span>'.__('Older posts', 'stt' ) );
endif;
if ( get_previous_posts_link() ):
previous_posts_link( __( 'Newer posts', 'stt' ). '<span class="next">→</span>' );
endif; ?>
</div>
</div>
<?php get_sidebar(); ?>
</div>
</div>
</div>
</div>
<?php get_footer(); ?>