Greg Rickaby

Greg Rickaby

Full-Stack Engineer / Photographer / Author

Create a custom RSS feed template for WordPress

Posted on | 0 minute read

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

https://gist.github.com/gregrickaby/9403680

2) Create the template file

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

https://gist.github.com/gregrickaby/9403660

3) Flush Permalinks

custom-rss-template-wordpress

Now your custom RSS feed can be found at
http://yoursite.com?feed=short

Comments

No comments yet.

Creating Custom WordPress RSS Feeds - WP RSS Aggregator

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

Raylo (@raylonet)

Raylo (@raylonet)

simple stuff that works, thanks for the help

Said Erraoudy

Said Erraoudy

thanks alot bro (y) !

lettjacob

lettjacob

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

zaheerabbasaghani

zaheerabbasaghani

Thank u very much

Saiful

Saiful

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

Tutorial: Help! My RSS Campaign is ugly and the preview is wrong.

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

Leave a Comment