Support » Plugins » Add author name to title in RSS feed

  • I have a multi-author blog. It’s confusing for some people who access it through readers because they can’t see who wrote the post.

    How can I add the author’s name to the title *only* in the RSS feed?



Viewing 1 replies (of 1 total)
  • I’m pretty new to WordPress, so someone may have a less intrusive way to do it.

    Looking at the code, I see the following:

    <title><?php the_title_rss() ?></title>
    <link><?php the_permalink_rss() ?></link>
    <comments><?php comments_link(); ?></comments>
    <pubDate><?php echo mysql2date('D, d M Y H:i:s +0000', get_post_time('Y-m-d H:i:s', true), false); ?></pubDate>
    <dc:creator><?php the_author() ?></dc:creator>asdfasdf

    I think you could change the title tag to do what you want. Something like this:

    <title><?php the_author() ?> - <?php the_title_rss() ?></title>

Viewing 1 replies (of 1 total)
  • The topic ‘Add author name to title in RSS feed’ is closed to new replies.