Co-Authors Plus
Co-authors-plus with Fanciest Author Box on Surfarama (1 post)

  1. matsmithlondon1
    Posted 2 years ago #

    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() ),


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Co-Authors Plus
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by matsmithlondon1
  • This topic is not resolved
  • WordPress version: 3.8.1