Start Theme Repo
This commit is contained in:
22
views/pieces/posts/author-bio.twig
Normal file
22
views/pieces/posts/author-bio.twig
Normal file
@@ -0,0 +1,22 @@
|
||||
{% if theme_setting( 'author_bio' ) or conditional_tag.is_customize_preview %}
|
||||
|
||||
<div class="entry-author clearfix">
|
||||
<div class="author-avatar">
|
||||
|
||||
{{ fn( 'get_avatar', post.author.user_email, 128 ) }}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="author-heading">
|
||||
<h4 class="author-title">{{ __( 'About %s', 'romhackplaza' )|esc_html|format( '<span class="author-name">' ~ post.author.display_name ~ '</span>' ) }}</h4>
|
||||
<a class="author-link" href="{{ post.author.profile_url|esc_url }}" rel="author">
|
||||
{{ __( 'View all posts', 'romhackplaza')|esc_html }}
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<p class="author-bio">
|
||||
{{ post.author.meta( 'description' ) }}
|
||||
</p>
|
||||
</div>
|
||||
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user