-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathauthor.php
More file actions
executable file
·36 lines (36 loc) · 1.23 KB
/
author.php
File metadata and controls
executable file
·36 lines (36 loc) · 1.23 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
<?php get_header(); ?>
<?php wpbp_content_before(); ?>
<section id="content">
<div class="<?php wpbp_container_class(); ?>">
<div class="<?php wpbp_option( 'main_class' ); ?>">
<?php wpbp_main_before(); ?>
<section id="main" role="main">
<?php wpbp_main_inside_before(); ?>
<?php if ( $author = get_queried_object() ) : ?>
<h1 class="page-title">
<?php printf( __( 'Author: %s', 'wpbp'), $author->display_name ); ?>
</h1>
<div class="author-description">
<?php the_author_meta( 'description' ); ?>
</div>
<?php endif; ?>
<?php wpbp_loop_before(); ?>
<?php get_template_part( 'loop', 'author' ); ?>
<?php wpbp_loop_after(); ?>
<?php wpbp_main_inside_after(); ?>
</section>
<?php wpbp_main_after(); ?>
</div>
<div class="<?php wpbp_option( 'sidebar_class' ); ?>">
<?php wpbp_sidebar_before(); ?>
<aside id="sidebar" role="complementary">
<?php wpbp_sidebar_inside_before(); ?>
<?php get_sidebar(); ?>
<?php wpbp_sidebar_inside_after(); ?>
</aside>
<?php wpbp_sidebar_after(); ?>
</div>
</div>
</section>
<?php wpbp_content_after(); ?>
<?php get_footer(); ?>