Co-authors plus

Community Forums Forums General Discussion Co-authors plus

This topic is: resolved

This topic contains 7 replies, has 5 voices, and was last updated by  Mealtog 2 months ago.

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #12267

    iaditya999
    Participant
    Post count: 21

    I installed a plugin called co-authors plus

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

    But it was unable to change entire author section,after post author and by — after the post title…

    So I added it’s code to functions.php but it failed coz wordpress is already using author mark related to genesis…..

    Will anyone please tell me the right way to make it work ????????????

    #12283

    David Decker
    Moderator
    Post count: 95

    There is a new community plugin called “Genesis Co-Authors Plus”: http://wordpress.org/extend/plugins/genesis-co-authors-plus/
    –> please use that along with the original “Co-Authors Plus” plugin

    Before, remove your custom code regarding co-authors plus from your functions.php

    I suggest to put further questions to the support forum of the developer of that Genesis Add-On plugin, here: http://wordpress.org/support/plugin/genesis-co-authors-plus


    #12319

    iaditya999
    Participant
    Post count: 21

    It worked with the after post author box but not for the by section from the post info !!!!

    http://i.imgur.com/YHsmF.png

    #12355

    David Decker
    Moderator
    Post count: 95

    Ok, I just tested a piece of code for you, on my install it works great:

    —> goes into functions.php — best at the bottom, don’t include the beginning line “< ?php" !

    It's also safe if you deactivate the Co-Authors plugin! To modify your byline output you have to modify the parts on the line with "$post_info = …" etc. be careful with the syntax though. A backup of your functions.php goes a long way :)

    Hope that helps, Dave :)


    #12871

    iaditya999
    Participant
    Post count: 21

    thanks it worked…

    I also found a link here

    http://www.billerickson.net/wordpress-post-multiple-authors/

    #41893

    electricbrick
    Participant
    Post count: 62

    @David Any idea on how one can control the output of a Genesis author archive using Co-Authors Plus and Genesis Co-Authors Plus?

    #85133

    hich
    Participant
    Post count: 16

    It does not work well for me, it add an extra line with the two authors on top and I will need to hide the author box for that particular box.

    #120860

    Mealtog
    Participant
    Post count: 440

    Looks like maybe a later Gen release made the if else statement not work. I also see 2 lines of meta info. ie. both if and else displays. Does anyone know how to make this code work? It’s been a struggle to get the latest Genesis to work with Co-Author Plus.

    add_filter( ‘genesis_post_info’, ‘ddw_coauthors_post_info_filter’ );
    /**
    * Customize the post info function for the use with Co-Authors Plus plugin
    *
    * @author David Decker – DECKERWEB
    * @link http://twitter.com/deckerweb
    */
    function ddw_coauthors_post_info_filter( $post_info ) {

    /** Check for active “Co-Authors Plus” plugin */
    if ( function_exists( ‘coauthors_posts_links’ ) ) {

    $author_post_link = coauthors_posts_links();

    } else {

    $author_post_link = ‘[post_author_posts_link]‘;

    } // end-if plugin function check

    if ( ! is_page() ) {

    $post_info = ‘[post_date] by ‘ . $author_post_link . ‘ [post_comments] [post_edit]‘;

    return $post_info;

    } // modify the byline output

    } // end of function

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in to reply to this topic.