Skip to content

Commit 650d67c

Browse files
committed
new layout for author pages
1 parent aff5dd1 commit 650d67c

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

author.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,18 +12,18 @@
1212
<div class="container">
1313
<header>
1414
<h1 class="article_title">
15-
<p>
15+
<p>
1616
<?php echo 'All entries by ' . get_the_author();?>
1717
</p>
1818
</h1>
19-
<div class="col-xs-12 col-sm-2 col-md-2 col-lg-2">
20-
<?php echo get_avatar(get_the_author_meta('ID'));?>
19+
<div class="col-md-12">
20+
<div class="panel">
21+
<?php echo get_avatar(get_the_author_meta('ID'));?>
22+
<small><?php the_author_meta('display_name'); ?>, <?php the_author_link();?></small>
23+
</div>
2124
</div>
2225
<div class="col-xs-12 col-sm-10 col-md-10 col-lg-10">
23-
<p>
24-
<b>Author name: </b><?php the_author_meta('display_name'); ?></p>
25-
<p>
26-
<b>Author homepage: </b><?php the_author_link();?></p>
26+
2727
<?php
2828
$description = get_the_author_meta('description');
2929
if (! empty($description)) {

0 commit comments

Comments
 (0)