Support » Themes and Templates » [Theme: Surfarama] Multiple authors – Co-authors-plus

  • Hi there!

    I want to add multiple authors to my website using the co-authors-plugin. I’ve already managed to edit the main page, however, I do have problems with the content-single.php file.

    Does anyone know what is wrong here? I’d like to display all the authors of an article, separated by a comma and AND – however, it is displaying a “21” instead of the comma and adds all the authors at the end of the links in capitals.

    There the snippet:

    if ( function_exists( 'coauthors_posts_links' ) ) {
        				printf( __( '<span class="author vcard"><a class="url" href="%5$s" title="%6$s"></a></span><span class="sep meta-on"%7$s> Date </span> <a href="%1$s" title="%2$s" rel="bookmark"><time class="entry-date" datetime="%3$s">%4$s</time></a></span>', 'surfarama' ),
    				esc_url( get_permalink() ),
    				esc_attr( get_the_time() ),
    				esc_attr( get_the_date( 'c' ) ),
    				esc_html( get_the_date() ),
    				esc_url( coauthors_posts_links ( get_the_author_meta( 'ID' ) ) ),
    				esc_html( coauthors() ),

  • The topic ‘[Theme: Surfarama] Multiple authors – Co-authors-plus’ is closed to new replies.