WordPress.org

Support

Support » Plugins and Hacks » [Resolved] Co-Authors Author Profile Mix Up

[Resolved] Co-Authors Author Profile Mix Up

Viewing 11 replies - 1 through 11 (of 11 total)
  • Plugin Author Daniel Bachhuber

    @danielbachhuber

    Did you create a guest author profile for him? If so, you’ll need to update your theme to use the Co-Authors Plus template tags.

    No. He is setup as an editor.

    Plugin Author Daniel Bachhuber

    @danielbachhuber

    Odd. Can you share the code you’re using to produce the details on the author page?

    I have the plugin turned back on so you can take a look. http://icatsbeta.com/code/author/joncarl/ You’ll notice the different names. I’m using Social Author Bio plugin to display author info at the bottom of each post. On a page that we both co-authored, it will only show one author. http://icatsbeta.com/code/historic-walking-tour-of-franklin-street/ is an example.

    Plugin Author Daniel Bachhuber

    @danielbachhuber

    You’ll notice the different names.

    Hmm… I actually only see posts authored by Jon Carl on his author profile page. With how Co-Authors Plus works though, any articles where he is a co-author will also show up on his profile page. You’ll need to add the template tags for both bylines to appear.

    I’m using Social Author Bio plugin to display author info at the bottom of each post. On a page that we both co-authored, it will only show one author.

    It probably doesn’t support Co-Authors Plus.

    I ditched the Social Author Bio plugin and instead went with Author Spotlight widget. BTW – SAB wasn’t causing the issue so I need the template tags.

    Is there a way to inject the template tags using add_filter into my Pagelines template functions.php? I tried just adding the code to my functions.php and it crashed the site. I’m slowly learning php and any assistance you can give is greatly appreciated.

    Plugin Author Daniel Bachhuber

    @danielbachhuber

    Is there a way to inject the template tags using add_filter into my Pagelines template functions.php?

    I’m not terribly familiar with Pagelines, sorry 🙁 If you’re using the paid version I’d recommend contacting their support.

    Will do. Thanks!

    Pagelines has built-in to their framework the ability to list multiple authors in the meta of posts using Co-Authors Plus. For some reason, there is an issue on the Author pages for any secondary authors’ bios and profile pic being replaced with that of the primary author. What’s ironic is the link to the website beneath the bio is Jon’s and not the other guy’s website. Could their be a slug conflict or something?

    Page that has 3 authors listedhttp://icatsbeta.com/code/historic-walking-tour-of-franklin-street/
    Jerrad Gleim’s Author Page http://icatsbeta.com/code/author/jjgleim/
    Jon Carl’s Author Pagehttp://icatsbeta.com/code/author/joncarl/
    Amanda Bussey’s Author Pagehttp://icatsbeta.com/code/author/amandabussey/

    When you look at the post, you will see it list all authors in the meta and the authors bios are listed correctly at the bottom using the Author Spotlight Widget plugin. But when you go to the second and third author’s author page, the bios and pics are wrong.

    Plugin Author Daniel Bachhuber

    @danielbachhuber

    I think I know what the problem is if it’s using this code. Co-Authors Plus properly sets the queried object for the author profile page, but some of the Pagelines code is referring to $post->post_author. Any references to that should instead be get_queried_object_id()

    If you want to point their support staff to this thread, I’d be happy to help with any questions they have.

    That fixed it! Thanks so much!

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Co-Authors Author Profile Mix Up’ is closed to new replies.