Quantcast
Channel: Replace author with custom field in feed - WordPress Development Stack Exchange
Browsing all 2 articles
Browse latest View live

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 Article


Replace 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

Browsing all 2 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>