mirror of https://github.com/IoTcat/Sakura.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
1001 B
21 lines
1001 B
<?php |
|
/** |
|
* AUTHOR PROFILE |
|
*/ |
|
if ( akina_option('author_profile') == 'yes') { |
|
?> |
|
<section class="author-profile"> |
|
<div class="info" itemprop="author" itemscope="" itemtype="http://schema.org/Person"> |
|
<a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'),get_the_author_meta( 'user_nicename' ))); ?>" class="profile gravatar"><img src="<?php echo get_avatar_profile_url(); ?>" itemprop="image" alt="<?php the_author(); ?>" height="70" width="70"></a> |
|
<div class="meta"> |
|
<span class="title"><?php esc_html_e('Author', 'akina'); ?></span> |
|
<h3 itemprop="name"> |
|
<a href="<?php echo esc_url(get_author_posts_url(get_the_author_meta('ID'))); ?>" itemprop="url" rel="author"><?php the_author(); ?></a> |
|
</h3> |
|
</div> |
|
</div> |
|
<hr> |
|
<p><i class="iconfont icon-write"></i><?php echo get_the_author_meta( 'description' ) ? get_the_author_meta( 'description' ) :akina_option('admin_des', 'Carpe Diem and Do what I like'); ?></p> |
|
</section> |
|
|
|
<?php } ?>
|