Support » Plugin: Co-Authors Plus » [Plugin: Co-Authors Plus] Co Authors Plus Implementation

  • Resolved design_girl

    (@design_girl)


    I want to show two author names with “by” in front. However, when I add the argument it doesn’t seem to work. I simply get two names with ‘and’ between them with no “by”.

    Am I implementing the plugin correctly? Here is my code:

    if(function_exists('coauthors')) {
    coauthors( array( 'before' => 'by')); }
    else { the_author(); }

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

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

    (@danielbachhuber)

    Hand Built

    Try something like this:

    if ( function_exists('coauthors') ) {
    echo 'By ';
    coauthors();
    } else {
    the_author();
    }
Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Co-Authors Plus] Co Authors Plus Implementation’ is closed to new replies.