I need to add some code to my RSS feeds, so I am searching for the RSS Feed .php file so I can add my code. Any help in finding this template file would be greatly appreciated.
|
feedback
|
|
To add some tags to the rss2 feed you may use the 3 action hooks that can be found in the wp-includes/feed-rss2.php rss2_ns : to add a specific namespace rss2_head : to add tags in the feed header rss2_item : to add tags in each feed items For example, let's assume you want to add a copyright in your feed's header using the dublin core vocabulary :
| |||
|
feedback
|
|
Feed templates are in You will need to:
Alternatively you can use some specific hooks in feed template to add what you want. Update As per Otto's comment steps 2 and 4 can be simplified using | |||||||
feedback
|
|
Here's a quick guide: http://codex.wordpress.org/Customizing_Feeds | |||
feedback
|