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
Now your custom RSS feed can be found at
http://yoursite.com?feed=short
Comments
No comments yet.
RSS FEED taking over Slug - Wordpress Helpdesk
[…] I followed this tutorial https://gregrickaby2019.test/custom-rss-template-wordpress/ […]
Creating Custom WordPress RSS Feeds - WP RSS Aggregator
[…] Greg Rickaby – Custom RSS Template in WordPress […]
Raylo (@raylonet)
simple stuff that works, thanks for the help
Said Erraoudy
thanks alot bro (y) !
lettjacob
Thank you for taking the time to share this. Works great!
zaheerabbasaghani
Thank u very much
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 […]