Title: Adding to RSS Feed
Last modified: August 19, 2016

---

# Adding to RSS Feed

 *  [bendrucker](https://wordpress.org/support/users/bendrucker/)
 * (@bendrucker)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/adding-to-rss-feed/)
 * I wanted to create a simple framework so that I could ad bits of code below my
   post excerpt in my rss feed. Based on a little searching, I decided that pasting
   the following into my functions.php file was the best idea.
 *     ```
       function rssadds($content) {
           $content = $content.include(TEMPLATEPATH . '/rssadds.php' );
           return $content;
       }
       add_filter('the_excerpt_rss', 'rssadds');
       add_filter('the_content_rss', 'rssadds');
       ```
   
 * That code works fine, but for whatever reason, the rssadds.php include is appearing
   before the content, not after. The include occurs after the $content in the code,
   right? Not entirely sure what’s going on here. Could anybody tell me why this
   would be seemingly backwards?

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [bendrucker](https://wordpress.org/support/users/bendrucker/)
 * (@bendrucker)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/adding-to-rss-feed/#post-1287400)
 * Bump
 *  Thread Starter [bendrucker](https://wordpress.org/support/users/bendrucker/)
 * (@bendrucker)
 * [16 years, 4 months ago](https://wordpress.org/support/topic/adding-to-rss-feed/#post-1287444)
 * Can anyone help me out with this?

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding to RSS Feed’ is closed to new replies.

 * 2 replies
 * 1 participant
 * Last reply from: [bendrucker](https://wordpress.org/support/users/bendrucker/)
 * Last activity: [16 years, 4 months ago](https://wordpress.org/support/topic/adding-to-rss-feed/#post-1287444)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
