WordPress.org

Support

Support » Plugins and Hacks » Co-Authors Plus » [Resolved] [Plugin: Co-Authors Plus] Newbie co-author template tag hand-holding needed

[Resolved] [Plugin: Co-Authors Plus] Newbie co-author template tag hand-holding needed

  • Sheila

    @hoffmangraphics

    I’ve successfully setup this plug-in and have multiple authors assigned to the same post. When I click their name I get a correct list of all their posts including those they are co-authors of. So far so good.

    Here’s a link to a page with two authors assigned to it (site under development).

    I see in “Other Notes” there’s template tags to make it so I can display multiple authors under the title. I’m a graphic designer not a coder so I’m a little lost. I use the Headway Themes framework which allows me to do easy hooks as well as custom php. But I don’t know how to translate the info on the Notes page to work within my framework. I’ve posted for help there but I thought someone here but be better able to assist.

    ALSO… Once I get that sorted… will this plug-in also display both authors’ boxes at the end of the post? My author’s box uses custom code from the instructions here. I suppose I’ll have to figure out how to change that code to do that.

    If you’re available for hire to deal with this little things, please contact me

    Thanks.

    http://wordpress.org/extend/plugins/co-authors-plus/

Viewing 6 replies - 1 through 6 (of 6 total)
  • Sheila

    @hoffmangraphics

    Sorry…can’t edit my post. But that author’s box code is from this post:
    http://headwaytoolbox.com/2010/06/getting-started-using-easy-hooks/

    That other link is how I’m listing all my contributors on a page.

    Sheila

    @hoffmangraphics

    Got some help on my framework forum. I was able to add this to the after title easy hook and I now have both authors displaying under the title!

    Written on <?php the_date(); ?> by <?php return coauthors_posts_links() ?>

    Baby steps for me. Now to figure out how to get both authors to show up in the bio boxes after the post.

    Thanks for creating this thread, hoffmangraphics!! I too was desperately trying to get the multiple authors to display under the title (and my homepage). Your comments here are what lead me to find the answer! 🙂

    If this helps other people, here’s what I did.

    I’m using the graphene theme for my website here:
    http://juventiknows.com/

    I went into wp-content/themes/graphene, found the loop.php file, and searched for “by ” to find the relevant line of code. I then modified this line:

    _e('by','graphene'); echo ' <span class="fn nickname">'; the_author_posts_link(); echo '</span>';

    with

    _e('by','graphene'); echo ' <span class="fn nickname">'; if(function_exists('coauthors_posts_links')) coauthors_posts_links(); else the_author_posts_link(); echo '</span>';

    Now works like a charm! 😀 Not only are multiple authors displayed, but if I de-activate the plug-in, the original single author template is restored.

    Woohoo!

    Plugin Author Daniel Bachhuber

    @danielbachhuber

    Hand Built

    Glad you folks were able to figure this out 🙂 Let us know if we can help with anything else

    Sheila

    @hoffmangraphics

    This site finally launched a week ago. Thought I’d post the final url for anyone finding this later as the dev link in the OP won’t be there much longer. http://www.writingitreal.com. Authors are all listed on the Contributors page under Community. And the articles are all listed in the Library which is the posts.

    Plugin Author Daniel Bachhuber

    @danielbachhuber

    Hand Built

    Awesome, congrats!

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘[Resolved] [Plugin: Co-Authors Plus] Newbie co-author template tag hand-holding needed’ is closed to new replies.
Skip to toolbar