Hi Aigars,
Thanks for this wonderful theme. I would like to install a author box plugin. Is there anyway i can take away the default author bio below the post?
Thanks,
Lye
Hi Aigars,
Thanks for this wonderful theme. I would like to install a author box plugin. Is there anyway i can take away the default author bio below the post?
Thanks,
Lye
Code related to author box can be found on content-single.php
and it looks like this:
<div class="post-inner-content secondary-content-box">
<!-- author bio -->
<div class="author-bio content-box-inner">
<!-- avatar -->
<div class="avatar">
<?php echo get_avatar(get_the_author_meta('ID') , '60'); ?>
</div>
<!-- end avatar -->
<!-- user bio -->
<div class="author-bio-content">
<h4 class="author-name"><a href="<?php echo get_author_posts_url(get_the_author_meta( 'ID' )); ?>"><?php echo get_the_author_meta('display_name'); ?></a></h4>
<p class="author-description">
<?php echo get_the_author_meta('description'); ?>
</p>
</div>
<!-- end author bio -->
</div>
<!-- end author bio -->
</div>
You can remove it easily and you can also get this done via Child Theme since content-single.php
is part of WordPress default structure. Just copy/paste this file from Parent Theme to Child Theme and edit it there.