Title: Co-Authors compatibility
Last modified: August 31, 2016

---

# Co-Authors compatibility

 *  Resolved [Rebecca Markowitz](https://wordpress.org/support/users/beccawitz/)
 * (@beccawitz)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/co-authors-compatibility/)
 * How can I get co-authors to appear next to the title?
    We are using the co-authors
   plugin: [https://wordpress.org/plugins/co-authors-plus/](https://wordpress.org/plugins/co-authors-plus/)
 * Is there a way to filter the author that’s displaying?
    Thanks so much!
 * [https://wordpress.org/plugins/simple-yearly-archive/](https://wordpress.org/plugins/simple-yearly-archive/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  Plugin Author [wpseek](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/co-authors-compatibility/#post-6965695)
 * Hi Rebecca,
 * sorry for the late reply. Please update the plugin to version 1.7.4 and add the
   following code to your theme’s functions.php file:
 *     ```
       if( function_exists('get_coauthors') ) {
       	add_filter( 'sya_the_authors', 'my_sya_filter_authors', 10, 2 );
   
       	function my_sya_filter_authors( $author, $post ) {
       		$coauthors = get_coauthors( $post->ID );
       		$authorsCollection = array();
       		foreach( $coauthors as $coauthor ) {
       			if( $coauthor->display_name ) {
       				$authorsCollection[] = $coauthor->display_name;
       			}
       		}
       		return implode(', ', $authorsCollection);
       	}
       }
       ```
   
 *  Thread Starter [Rebecca Markowitz](https://wordpress.org/support/users/beccawitz/)
 * (@beccawitz)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/co-authors-compatibility/#post-6965729)
 * THANK YOU SO MUCH! IT WORKED!
    Could you also tell me how to make the author 
   names into active links to their author archive pages? Thanks!
 *  Thread Starter [Rebecca Markowitz](https://wordpress.org/support/users/beccawitz/)
 * (@beccawitz)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/co-authors-compatibility/#post-6965730)
 * Also, how do I remove the parenthesis () around the author names?
 *  Plugin Author [wpseek](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/co-authors-compatibility/#post-6965731)
 * Hi Rebecca,
 * adding author links to the author names would be possible by adding the following
   code snippet to your theme’s functions.php file (replacing the one I posted above):
 *     ```
       if( function_exists('get_coauthors') ) {
       	add_filter( 'sya_the_authors', 'my_sya_filter_authors', 10, 2 );
   
       	function my_sya_filter_authors( $author, $post ) {
       		$coauthors = get_coauthors( $post->ID );
       		$authorsCollection = array();
       		foreach( $coauthors as $coauthor ) {
       			if( $coauthor->display_name ) {
       				$authorsCollection[] = '<a href="' . get_author_posts_url( $coauthor->ID, $coauthor->user_nicename ) . '">' . $coauthor->display_name . '</a>';
       			}
       		}
       		return implode(', ', $authorsCollection);
       	}
       }
       ```
   
 * As for removing the parenthesis around the author names: That not possible as
   this part of the plugin’s output that can’t be hooked into. You could be trying
   to use CSS to hide the text while keeping the links with:
 *     ```
       .sya_container .sya_author {
           color: transparent;
       }
       ```
   
 *  Thread Starter [Rebecca Markowitz](https://wordpress.org/support/users/beccawitz/)
 * (@beccawitz)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/co-authors-compatibility/#post-6965732)
 * The problem is that if then “by” becomes transparent as well. Why did you decided
   to put the authors name in parenthesis? Maybe you could put a span around the
   Parenthesis so people can hide it with css. Thanks for your quick response!!
 *  Thread Starter [Rebecca Markowitz](https://wordpress.org/support/users/beccawitz/)
 * (@beccawitz)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/co-authors-compatibility/#post-6965734)
 * I am using the shortcode to include a category several times on one page to show
   archives by category. Random posts are showing the wrong author. When I deactivate
   the coauthor plugin, it works, but when I reactivate, it shows some correct authors,
   and some incorrect authors.
    [http://besacenter.org/publications-archive/](http://besacenter.org/publications-archive/)
   Look under Mideast Security and Policy Studies in 2008 and you’ll see the posts
   are attributed to ManagingTeam even thought that isn’t the correct author if 
   you click on the post title. How can I show the correct authors?
 *  Plugin Author [wpseek](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/co-authors-compatibility/#post-6965737)
 * Hi Rebecca,
 * when looking under Mideast Security and Policy Studies in 2008 I see 3 posts 
   attributed to 3 different authors each. The authors seem correct to me compared
   to when I click the titles and check the post author.
 * Am I missing sth.?
 *  Thread Starter [Rebecca Markowitz](https://wordpress.org/support/users/beccawitz/)
 * (@beccawitz)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/co-authors-compatibility/#post-6965741)
 * I fixed it by clicking “Update” on each post. Crazy but true.
 *  Plugin Author [wpseek](https://wordpress.org/support/users/alphawolf/)
 * (@alphawolf)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/co-authors-compatibility/#post-6965742)
 * Weird, but glad to hear it’s working now.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Co-Authors compatibility’ is closed to new replies.

 * ![](https://ps.w.org/simple-yearly-archive/assets/icon-256x256.png?rev=1162212)
 * [Simple Yearly Archive](https://wordpress.org/plugins/simple-yearly-archive/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-yearly-archive/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-yearly-archive/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-yearly-archive/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-yearly-archive/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-yearly-archive/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [wpseek](https://wordpress.org/support/users/alphawolf/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/co-authors-compatibility/#post-6965742)
 * Status: resolved