Displaying Co-authors Plus WordPress Plugin

I originally posted this on the WordPress stack but apparently it was off-topic (???) and it was suggested I ask it here, so here’s the original question:

“I’m trying to add the Co-authors Plus plugin to the theme Oldpaper.

Read More

However, I’ve followed the documentation and it simply isn’t displaying multiple authors.

As per the instructions here, the code I’ve added to single.php:

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

However, posts are still displaying only one author. Single.php is the only place where the_author() is used, so it must be the right place to add the code.

Any suggestions would be greatly appreciated.”

Subsequently, I noticed that the files of the plugin are apparently inactive, according to the WordPress editor. I’m not sure I believe this because all the backend works, it’s just the front end which isn’t working.

Related posts

Leave a Reply

1 comment

  1. If you look further into the instructions…

        if ( function_exists( 'coauthors_posts_links' ) ) :
        printf( __( '<span class="%1$s">Posted on</span> %2$s <span class="meta-sep">by</span> %3$s', 'twentyten' ),
            'meta-prep meta-prep-author',
            sprintf( '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>',
                get_permalink(),
                esc_attr( get_the_time() ),
                get_the_date()
            ),
            coauthors_posts_links( null, null, null, null, false )
        );