-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d7d3c28
commit 8ba3ec0
Showing
4 changed files
with
103 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<?php get_header(); ?> | ||
<body <?php body_class(); ?>> | ||
<?php get_template_part("/template-parts/common/hero"); ?> | ||
<div class="container"> | ||
<div class="authorsection authorpage"> | ||
<div class="row"> | ||
<div class="col-md-2 authorimage"> | ||
<?php | ||
echo get_avatar( get_the_author_meta( "ID" ) ); | ||
?> | ||
</div> | ||
<div class="col-md-10"> | ||
<h4> | ||
<?php echo strtoupper(get_the_author_meta( "display_name" )); ?> | ||
</h4> | ||
|
||
<p> | ||
<?php echo get_the_author_meta( "description" ); ?> | ||
</p> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="posts text-center"> | ||
<?php | ||
while ( have_posts() ) { | ||
the_post(); | ||
?> | ||
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></h2></a> | ||
<?php | ||
} | ||
?> | ||
|
||
<div class="container post-pagination"> | ||
<div class="row"> | ||
<div class="col-md-4"></div> | ||
<div class="col-md-8"> | ||
<?php | ||
the_posts_pagination( array( | ||
"screen_reader_text" => ' ', | ||
"prev_text" => "New Posts", | ||
"next_text" => "Old Posts" | ||
) ); | ||
?> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
<?php get_header(); ?> | ||
<body <?php body_class(); ?>> | ||
<?php get_template_part("/template-parts/common/hero"); ?> | ||
<div class="container"> | ||
<div class="authorsection authorpage"> | ||
<div class="row"> | ||
<div class="col-md-2 authorimage"> | ||
<?php | ||
echo get_avatar( get_the_author_meta( "ID" ) ); | ||
?> | ||
</div> | ||
<div class="col-md-10"> | ||
<h4> | ||
<?php echo get_the_author_meta( "display_name" ); ?> | ||
</h4> | ||
<p> | ||
<?php echo get_the_author_meta( "description" ); ?> | ||
</p> | ||
|
||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<div class="posts text-center"> | ||
<?php | ||
while ( have_posts() ) { | ||
the_post(); | ||
?> | ||
<h2><a href="<?php the_permalink(); ?>"><?php the_title(); ?></h2></a> | ||
<?php | ||
} | ||
?> | ||
|
||
<div class="container post-pagination"> | ||
<div class="row"> | ||
<div class="col-md-4"></div> | ||
<div class="col-md-8"> | ||
<?php | ||
the_posts_pagination( array( | ||
"screen_reader_text" => ' ', | ||
"prev_text" => "New Posts", | ||
"next_text" => "Old Posts" | ||
) ); | ||
?> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
<?php get_footer(); ?> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -114,6 +114,9 @@ h2.post-title { | |
border-radius: 50px; | ||
} | ||
|
||
.authorpage{ | ||
margin-bottom: 50px; | ||
} | ||
|
||
|
||
|
||
|