Episodes on custom post type missing from feed
-
I have the following custom post type configured in the CPT UI plugin:
function cptui_register_my_cpts_mypodcast() { /** * Post Type: Podcast Audio. */ $labels = array( "name" => __( "Podcast Audio", "bootstrap-dashboard" ), "singular_name" => __( "Podcast Audio", "bootstrap-dashboard" ), ); $args = array( "label" => __( "Podcast Audio", "bootstrap-dashboard" ), "labels" => $labels, "description" => "", "public" => true, "publicly_queryable" => true, "show_ui" => true, "show_in_rest" => false, "rest_base" => "", "has_archive" => false, "show_in_menu" => true, "exclude_from_search" => false, "capability_type" => "post", "map_meta_cap" => true, "hierarchical" => true, "rewrite" => array( "slug" => "mypodcast", "with_front" => true ), "query_var" => true, "supports" => array( "title", "editor", "thumbnail", "page-attributes", "post-formats" ), "taxonomies" => array( "writer", "duration" ), ); register_post_type( "mypodcast", $args ); } add_action( 'init', 'cptui_register_my_cpts_mypodcast' );
I have 46 posts assigned to this custom post type with the PowerPress metabox all filled in with links to the appropriate MP3s. When I go to PowerPress > Podcast Channels, I see that my Podcast (default channel) has all these episodes counted under the Episodes column, but when I visit the feed RSS none of these episodes load in the RSS.
As a test, I filled in the PowerPress metabox on a regular post. That episode appeared in the RSS feed without issue.
The default channel is set to include All Post Types under Other Settings, so I’m not sure what I’m missing here. Please help! How do I make my custom post type appear in the feed as it should?
- The topic ‘Episodes on custom post type missing from feed’ is closed to new replies.