How to add CORS support to WordPress RSS2 feed?

Posted by Prem Tiwari | Updated on

Want to add CORS support to WordPress RSS2 feed? Copy the original rss-template “wp-includes/feed-rss2.php” to your theme directory and activate it by adding this code to your functions.php file:


If you like this question & answer and want to contribute, then write your question & answer and email to freewebmentor[@]gmail.com. Your question and answer will appear on FreeWebMentor.com and help other developers.

Related Questions & Answers