Closed AJB99 closed 3 years ago
Currently all the tags in my RSS feed are the WP User that originally created the post, and not the co-author assigned as the author for display.
How do I get the co-author to display within the tags of my RSS feed?
I've already attempted the following, but it doesn't work:
function db_coauthors_in_rss( $the_author ) { if ( !is_feed() || !function_exists( 'coauthors') ){ return $the_author; } else{ return coauthors( null, null, null, null, false ); } } add_filter( 'the_author', 'db_coauthors_in_rss');
@AJB99 This should work as expected, it just may be that your feed is cached and you will need to publish a new post or update a current one to see those changes.
Closing due to inactivity.
Currently all the tags in my RSS feed are the WP User that originally created the post, and not the co-author assigned as the author for display.
How do I get the co-author to display within the tags of my RSS feed?
I've already attempted the following, but it doesn't work: