• I have a fix that allows for guest authors to appear in the WP RSS Feed. Based on the original fix by Daniel Bachhuber here: https://danielbachhuber.com/2011/12/13/co-authors-in-your-rss-feeds/

    My expansion of Daniel’s code is:

    /**
    * Co-authors in RSS and other feeds
    * /wp-includes/feed-rss2.php uses the_author(), so we selectively filter the_author value
    */
    function db_coauthors_in_rss( $the_author ) {
    
        if ( !is_feed() || !function_exists( 'coauthors') ){
            #return coauthors__echo( null, null, null, null, false );
            return $the_author;
        }
        else{
            #return "hey hey hey";
            return coauthors( null, null, null, null, false );
        }
    
    }
    add_filter( 'the_author', 'db_coauthors_in_rss');

    I’ll post any updates here; https://warrengroom.com/wordpress-help/co-authors-wordpress-rss-feeds/

    I hope that this helps. Thanks, Daniel ??

    • This topic was modified 6 years, 11 months ago by warrengroom.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘CoAuthor in RSS Feed Fix’ is closed to new replies.