Ready to get started?Download WordPress


Custom Post Type RSS feed
[resolved] custom post types do not appear in main feed (2 posts)

  1. globaltimoto
    Posted 1 year ago #

    Using this plugin the custom posts types do not appear in the main feed.

    Using custom code such as this does work:

    function add_pages_to_rss_feed( $args ) {
      if ( isset( $args['feed'] ) && !isset( $args['post_type'] ) )
        $args['post_type'] = array('page','products','widgets');
      return $args;


  2. Spacedmonkey
    Plugin Author

    Posted 1 year ago #

    This plugin is not designed to do as you say. WordPress automatically generated RSS feed for custom post types at have the "has_archive" flag set to true. If you need this functionally, you should use another plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.