How To Turn Off RSS Feed in WordPress

If you wants to create a very simple or static website by using WordPress and you does not want to show the feed at all. Following code we help you to turn off or disable RSS feed by simply creating a function into your active theme’s functions.php file.

When someone try to reach your feed, he will find the message which you have set in the function site_disable_feed. You may also be interested to learn about disable wordpress admin file changes,  get the slug of current post, display shortcode in templates, and wrap images in div.