Archived

This topic is now archived and is closed to further replies.

  • 0

Co-Authors Plus: Author Page Name & Bio Confusion


Question

Posted · Report post

I am using Co-Authors Plus to allow for multiple authors on my website. I am having an issue where the author that is listed first on a post is having their bio show up on the second author's page.  Here's an example: http://icatsbeta.com/code/author/joncarl/  Notice the name in the header and the name listed in the bio belong to two different authors.

 

The problem goes away when I deactivate Co-Authors Plus.

 

I reported the issue to the plugin author (link button on toolbar didn't work so sorry for pasting http://wordpress.org/support/topic/co-authors-author-profile-mix-up?replies=9#post-3802728) and they recommended I incorporate the Co-Authors Plus template tags into Pagelines.  http://vip.wordpress.com/documentation/incorporate-co-authors-plus-template-tags-into-your-theme/  

 

I'm not sure how to do this using the functions.php in the pagelines-customize folder.  Can anyone help?

Share this post


Link to post
Share on other sites

5 answers to this question

Posted · Report post

Hi,

 

As I understand it, you'll need to use a child theme like Base Theme, then copy the Authors section to the child theme's sections folder.  Changes may be made directly to the copied folder in the child theme.

 

You may ultimately need the help of a professional developer to implement this if you're not familiar with coding. See http://www.pagelines.com/pros if you feel the need for additional help.

Share this post


Link to post
Share on other sites

Posted · Report post

That was easy.  The author bios and names are working correctly now.  Thanks so much!

Share this post


Link to post
Share on other sites

Posted · Report post

Hi,

 

I don't know which of the four examples of code are needed for this.  For that you'll need to ask the developer or, test each one by trial and error.

 

We offer a plugin called Hooker that can help aid a bit in the implementation of the hook.  You can copy and paste one of these at a time to the functions.php found in the pagelines-customize plugin or through the Hooker plugin, which you may purchase via the Store. 

 

Unfortunately, we don't know this plugin or support third party products normally.  I'm sure though, this will be easy to do.

 

Though these docs are for a previous product, I believe the explanation of hooks and the video will suffice for your PageLines product.

Share this post


Link to post
Share on other sites

Posted · Report post

I contacted the author of the Co-Authors Plus and he thinks he's figured out the problem.  He thinks there needs to be some code modified in the Pageslines PostAuthor plugin to fix the issue. Here's the link to the Wordpress Support thread so you guys can talk geek and see if this can get fixed.  Thanks!  

Share this post


Link to post
Share on other sites

Posted · Report post

(I didn't mean to hijack this thread, it just seemed highly relevant)

 

I have also been playing around with Co-Authors Plus and I found this solution to displaying multiple authors on my blog and posts.

 

In pagelines/includes/class.shortcodes.php, in the pagelines_post_author_posts_link_shortcode function, I replaced:

the_author_posts_link();

with:

if ( function_exists( 'coauthors_posts_links' ) ) {
	coauthors_posts_links();
} else {
	the_author_posts_link();
} 

 

 

Now, I'm no experienced programmer, so I wonder if someone could tell me if this has any undesirable consequences? Also, I would prefer a solution that I could do in my child theme so it would carry over to new versions of the framework.

 

Thanks.

Share this post


Link to post
Share on other sites