Skip to content

Create a custom RSS feed template for WordPress

Creating a custom RSS template is pretty easy. I’ll show you have to do it in 3 steps.

NOTE: Browsers heavily cache RSS feeds. While developing, open your browser in Incognito Mode!

1) Register the template

Place the following into functions.php

2) Create the template file

Create a new file named, feed-short.php and place it inside your theme’s directory

3) Flush Permalinks


Now your custom RSS feed can be found at

About Greg Rickaby

Director of Engineering @WebDevStudios / Author & Tech Editor @ForDummies / @WordPress Contributor / @gatsbyjs Maintainer / Follow Greg on Twitter


  1. RSS FEED taking over Slug - Wordpress Helpdesk on November 19, 2014 at 3:30 pm

    […] I followed this tutorial […]

  2. […] Greg Rickaby – Custom RSS Template in WordPress […]

  3. Raylo (@raylonet) on March 10, 2015 at 4:09 am

    simple stuff that works, thanks for the help

  4. Said Erraoudy on June 23, 2015 at 11:12 am

    thanks alot bro (y) !

  5. lettjacob on August 18, 2015 at 3:47 pm

    Thank you for taking the time to share this. Works great!

  6. zaheerabbasaghani on September 10, 2015 at 1:43 pm

    Thank u very much

  7. Saiful on March 14, 2016 at 12:05 pm

    It ‘s nice to do with custom Feeds.
    Thanks a lot.

  8. […] to Greg Rickaby for the alternative RSS template tutorial. You still have to read the code to change it to your […]

Leave a Comment