I think this problem is similar to mine. Can someone help me out. Here are the details.
I used the co-author plug-in for this article and manage to setup the authors info below the article. Here’s the link:
https://www.asiapathways-adbi.org/2012/03/reforming-asias-trade-in-services-will-help-human-development/
But, when you click the archive link of the author, it display also the co-author bio instead of only one bio.
See below the code. Any help is deeply appreciated.
<?php
}
}
}
/*-----------------------------------------------------------------------------------*/
/* Author Box */
/*-----------------------------------------------------------------------------------*/
if ( ! function_exists( 'woo_author' ) ) {
function woo_author() {
// Author box single post page
if ( is_single() && get_option( 'woo_disable_post_author' ) != 'true' )
add_action( 'woo_post_inside_after', 'woo_author_box', 10 );
// Author box author page
elseif ( is_author() )
add_action( 'woo_loop_before', 'woo_author_box', 10 );
}
}
/*-----------------------------------------------------------------------------------*/
/* Single Post Author */
/*-----------------------------------------------------------------------------------*/
if ( ! function_exists( 'woo_author_box' ) ) {
function woo_author_box() {
global $post;
$author_id=$post->post_author;
?>
<?php
$i = new CoAuthorsIterator();
while($i->iterate()){
?>
<div id="post-author">
<div class="profile-image">
<?php echo get_avatar( get_the_author_meta('ID'), '80' ); ?>
</div>
<div class="profile-content">
<h4>
<?php printf( esc_attr__( 'About %s', 'woothemes' ), get_the_author('description', $author_id) ); ?></h4>
<?php echo get_the_author_meta( 'description'); ?>
<?php if (is_singular()) : ?>
<div class="profile-link">
<a href="<?php echo get_author_posts_url( get_the_author_meta( 'ID' ) ); ?>">
<?php printf( __( 'View all posts by %s <span class="meta-nav">→</span>', 'woothemes' ), get_the_author( 'display_name', $author_id ) ); ?>
</a>
</div><!-- #profile-link -->
<?php endif; ?>
</div>
<div class="fix"></div>
</div>
<?php } ?>
<?php
}
}
https://www.ads-software.com/extend/plugins/co-authors-plus/