Title: functions.php breaks RSS feeds
Last modified: August 18, 2016

---

# functions.php breaks RSS feeds

 *  [justinbaeder](https://wordpress.org/support/users/justinbaeder/)
 * (@justinbaeder)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/functionsphp-breaks-rss-feeds/)
 * I am using a [custom functions.php file (see source)](http://www.webbleyou.com/functions.phps)
   in a theme I am developing. I need the file to create the sidebars used by the
   Widgets plugin.
 * The widgets are working fine, but my RSS feed breaks when the functions.php file
   is included in my theme folder. If I delete the file, the RSS feeds look fine.
 * Specifically, I’m getting a few extra blank lines at the top of the [RSS feed](http://www.webbleyou.com/feed),
   which I think interferes with the document type. It comes out looking like [this (I saved a copy – this isn’t the live feed)](http://webbleyou.com/feederror.php).
 * Any idea what part of my functions.php file is causing this? I tried removing
   the JavaScript for the search box, as well as the Recent Posts code, but neither
   helped, so I put them back in.
 * Failing that, could it be some other issue with widgets? I appreciate any ideas
   you’d be willing to share.

The topic ‘functions.php breaks RSS feeds’ is closed to new replies.

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [justinbaeder](https://wordpress.org/support/users/justinbaeder/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/functionsphp-breaks-rss-feeds/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
