I'm trying to customize a WordPress feed. I know that if I modify
wp-includes/feed-rss2.php, the feed is modified. But I don't want to modify this file, as it might get overwritten during an upgrade.
I tried copying the file to
wp-content/themes/mytheme/feed-rss2.php, but the file seems to be ignored. I found this article on customizing WordPress feeds, but the article is very old and references files that are just dummy files now.
Background: Here's what I'm actually trying to do, in case there is a better way to do it. Our company has a WordPress blog. The copy of the posts could have been written by anybody, but only one of the two marketing guys actually posts on the blog.
I want to overwrite the author attribute in the feed so that they author always displays as "Acme, Inc." instead of showing the marketing guy's name. I've customized the blog pages to do this, but the feed still shows the user name.
I tried changing both marketing guys' usernames to "Acme, Inc.", but they didn't like that because they couldn't tell them apart when they needed to edit posts.