andyildefonso
Forum Replies Created
-
Forum: Plugins
In reply to: [Co-Authors Plus] Order of authors not retainedSame issue with me. Please help.
Hi Daniel,
It works fine now.
I really appreciate your help on this one.
Regards,
AndyHi Daniel,
Any feedback?
Thanks for your help in advance.
Regards,
AndyHi Daniel,
Yes. I would really appreciate your help on this one.
Thanks.
AndyHi Daniel,
Thank you again for your help.
Here’s the code:
Hi Daniel,
Thank you for your help.
Now, I able to display only one author for the archive page.
See the link below:
https://www.asiapathways-adbi.org/author/ben-shepherd/Unfortunately, for the co-author archive page, it displays the first co-author bio instead of the second one:
https://www.asiapathways-adbi.org/author/gp-gloria-pasadilla/Thank you very for your help in advance.
Here’s my code based on the previous post:
[78 lines of code moderated as per the Forum Rules. The maximum number of lines of code that you can post in these forums is ten lines. Please use the pastebin]
Hi Daniel.
Sorry for the duplicate post.
I hope you can give me more idea on how to use this is_singular() function because I’m not PHP savvy.
I know little debugging in PHP but not as deep as your knowledge.
Hope you can give me more option to use this co-author plug-in for my archive page.
To give more information, here are the links I want of the post I want to resolve.
This article has two authors: https://www.asiapathways-adbi.org/2012/03/reforming-asias-trade-in-services-will-help-human-development/
Below the article, you will notice that the authors bio is displayed. Once you click the archive link of the author, is display the archive articles but also the two bio’s. Would it be possible to display only one bio instead of two like the link below:
https://www.asiapathways-adbi.org/author/stephen-groff/Any help is deeply appreciated.
Thank you very much.
Forum: Plugins
In reply to: Problem with CoauthorsIs there someone who can help me out regarding this problem:
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/
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/
Anyone? Thanks.