A blog for technology, SEO tips, website development and open source programming.

How to Include WordPress Custom Post Types to Your Site RSS Feed

0 710

The default WordPress RSS feed includes only the default post types but the custom post types are not included. The following quick WordPress code snippet will help you to include WordPress custom post types to your web site RSS feed.

Add the following snippets to your WordPress theme functions.php file:

 

Save the changed functions.php and visit your your WordPress site RSS feed url. For example my site URL is http://feeds.feedburner.com/panayiotisgeorgiou. Notice that now your RSS Feed will include the posts from custom post types.

Leave a Reply

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More