Title: Feed themes?
Last modified: August 18, 2016

---

# Feed themes?

 *  [jonrosebaugh](https://wordpress.org/support/users/jonrosebaugh/)
 * (@jonrosebaugh)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-themes/)
 * Is there a way to have the feed be a little different for a theme? Like, I have
   a favicon.ico in one of my themes, and I use that for the site by having the 
   line `<link rel="shortcut icon" type="image/x-icon" href="<?php bloginfo('template_directory');?
   >/favicon.ico" />` in my theme. I want to do the same thing for my rss feed, 
   but I don’t want to just edit the global wp-rss2.php file, in case I ever want
   to switch to another theme or something. Can I put wp-rss2.php in a theme?

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

 *  [dss](https://wordpress.org/support/users/dss/)
 * (@dss)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-themes/#post-204402)
 * If you are saying that you want to style the output of your RSS Feed, so that
   it looks nicer, I’m right there with you.
 * [http://wordpress.org/support/topic/33549](http://wordpress.org/support/topic/33549)
 * In wp-rss2.php there is php code defining the header of the output for the feed:
 * `header('Content-type: text/xml; charset=' . get_settings('blog_charset'), true);
   
   $more = 1;
 * ?>
 * personally i couldn’t determine how to add anything into that string.
 * However, i did notice that adding the `xml?`tags enclosed in `php echo` tags 
   might actually work.
 * `<?php echo '<?xml-stylesheet type=&quot;text/css&quot; href=&quot;http://you.
   com/rss.css&quot; ?>'; ?>`
 *  [dss](https://wordpress.org/support/users/dss/)
 * (@dss)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-themes/#post-204434)
 * I got this working and wrote it up [here](http://fernando.dubtribe.com/archives/2005/05/14/rss-style-for-your-wp-feed/)
 *  Thread Starter [jonrosebaugh](https://wordpress.org/support/users/jonrosebaugh/)
 * (@jonrosebaugh)
 * [21 years, 1 month ago](https://wordpress.org/support/topic/feed-themes/#post-204710)
 * No, that’s not really what I want.
    I want to have wp-rss2.php included as part
   of a theme. So the small changes I make to it will be enabled when that theme
   is enabled, and disabled when the theme is disabled.

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

The topic ‘Feed themes?’ is closed to new replies.

## Tags

 * [RSS](https://wordpress.org/support/topic-tag/rss/)

 * 3 replies
 * 2 participants
 * Last reply from: [jonrosebaugh](https://wordpress.org/support/users/jonrosebaugh/)
 * Last activity: [21 years, 1 month ago](https://wordpress.org/support/topic/feed-themes/#post-204710)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
