This repository was archived by the owner on Jul 7, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathauthor.php
More file actions
executable file
·66 lines (53 loc) · 1.93 KB
/
author.php
File metadata and controls
executable file
·66 lines (53 loc) · 1.93 KB
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?php
/**
* The template for displaying author archives.
*
* @package North
* @since 3.2.3
*/
get_header(); ?>
<header class="page-titles">
<div class="container clearfix">
<h2 class="entry-title"><?php _e('Author','north'); ?> / <?php printf( get_the_author() ); ?></h2>
</div>
</header>
<section class="main">
<div class="container clearfix">
<div id="content">
<div class="posts">
<!-- Grab the posts -->
<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>
<article <?php post_class('post'); ?>>
<div class="box-wrap">
<div class="box">
<div class="post-content">
<?php get_template_part( 'template-gallery' ); ?>
<div class="blog-entry-title">
<h2><a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( sprintf( __( 'Permalink to %s', 'north' ), the_title_attribute( 'echo=0' ) ) ); ?>" rel="bookmark"><?php the_title(); ?></a></h2>
<div class="blog-entry-date">
<span>
<em><?php _e( 'By', 'north' ); ?></em> <?php the_author_posts_link(); ?>
</span>
<span>
<em><?php _e( 'On', 'north' ); ?></em> <?php echo get_the_date(); ?>
</span>
<span>
<em><?php _e( 'With', 'north' ); ?></em> <a href="<?php the_permalink(); ?>/#comment-jump" title=""><?php comments_number(__('No Comments','north'),__('1 Comment','north'),__( '% Comments','north') );?></a>
</span>
</div>
</div>
<?php the_excerpt(); ?>
</div><!-- post content -->
</div><!-- box -->
</div><!-- box wrap -->
</article><!-- post-->
<?php endwhile; ?>
<?php endif; ?>
</div>
<?php north_page_nav(); ?>
</div><!-- content -->
<?php get_sidebar(); ?>
</div><!-- container -->
</section><!-- main -->
<!-- footer -->
<?php get_footer(); ?>