↧
Answer by Bainternet for Replace author with custom field in feed
try this: add_filter( 'the_author', 'feed_author' ); function feed_author($name) { if( is_feed() && !is_admin()) { global $post; $author = get_the_terms($post->ID,'article_author'); if (...
View ArticleReplace author with custom field in feed
I'm doing some customization on a theme that was previously written by someone else. Rather than use multiple user accounts to assign articles, they created a taxonomy for the custom author name(s) so...
View Article