{"id":526,"date":"2022-01-04T19:59:31","date_gmt":"2022-01-04T14:29:31","guid":{"rendered":"https:\/\/hostkicker.com\/blog\/?p=526"},"modified":"2022-05-17T11:38:36","modified_gmt":"2022-05-17T06:08:36","slug":"how-to-add-custom-post-types-to-your-wordpress-rss-feed","status":"publish","type":"post","link":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/","title":{"rendered":"How to Add Custom Post Types to Your WordPress RSS Feed"},"content":{"rendered":"<p><span data-preserver-spaces=\"true\">The WordPress RSS feed displays the recent post only by default. In WordPress, if you use custom post types for other content, then you may want to combine them in your main RSS feed. Read the article until the end if you want to know how to add custom post types to your WordPress RSS feed.\u00a0<\/span><\/p>\n<h4><span data-preserver-spaces=\"true\">What are Custom Post Type and RSS feed in WordPress?<\/span><\/h4>\n<p><strong><span data-preserver-spaces=\"true\">Custom post types<\/span><\/strong><span data-preserver-spaces=\"true\">\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">The custom post type is types of content such as posts and pages. By default, WordPress comes with post types like the post, page, attachment, etc. But, a post type can be any content. You can make your custom post types and name them according to your choice.<\/span><\/p>\n<p><strong><span data-preserver-spaces=\"true\">WordPress RSS feeds<\/span><\/strong><\/p>\n<p><span data-preserver-spaces=\"true\">The WordPress RSS feeds shows your recent post content by default. It is a web feed that allows visitors to track their favorite websites without visiting each site manually.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">Why Adding Custom Post Types to RSS Feed?<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">WordPress comes with post types called posts, pages, attachments, etc. However, you can create additional custom post types to add more content.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">It is possible to create RSS feeds linked to your Custom Post Types.\u00a0<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Example:<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">http:\/\/www.mysite.com\/feed\/?post_type=wprss_feed<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Here, the domain is mysite, and the post type is wprss_feed. You can change the domain name and post type name in the above example.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">If website\u00a0 http:\/\/www.cutedogs.com\/ had a Custom Post Type called &#8220;puppy,&#8221; the feed will look like this: http:\/\/www.cutedogs.com\/feed\/?post_type=puppy.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">Adding All Custom Post Types to WordPress RSS Feeds<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">This method allows you to add all available post types to your main WordPress RSS feed.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">You have to add the following code to your WordPress website.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For this, copy the code and paste it to the theme&#8217;s functions.php file or a site-specific plugin.<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\"> function myfeed_request($qv) {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">if (isset($qv['feed']))<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">$qv['post_type'] = get_post_types();<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">return $qv;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">}<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">add_filter('request', 'myfeed_request');<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">This code modifies the default WordPress query to fetch RSS feeds by adding all publicly visible post types into the query.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">With this, you add the pages and all other custom post types to your main WordPress RSS feeds.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">Add Specific Custom Post Types\u00a0<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">By this, you can add specific custom post types to your main WordPress RSS feed.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">For this, Copy the below code and paste it to your site.<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\">function myfeed_request( $qv ) {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0if ( isset( $qv['feed'] ) &amp;&amp; !isset( $qv['post_type'] ) ) {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0$qv['post_type'] = array( 'post', 'project', 'website' );<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0}<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0return $qv;<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">}<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">add_filter( 'request', 'myfeed_request' );Copy<\/span><\/pre>\n<p><span data-preserver-spaces=\"true\">In this code, we display the default posts, projects, and websites. <\/span><span data-preserver-spaces=\"true\">Now, you can visit your WordPress feed to notice code in action.<\/span><\/p>\n<h2><span data-preserver-spaces=\"true\">Add Extra Feeds for Custom Post Types\u00a0<\/span><\/h2>\n<p><span data-preserver-spaces=\"true\">If you like to generate an extra feed for a specific custom post type, you have to copy and paste the following code.<\/span><\/p>\n<pre><span data-preserver-spaces=\"true\">add_action( 'wp_head', 'wprss_my_feeds' );<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">function my_cpt_feeds() {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0$post_types = array('project');<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0foreach( $post_types as $post_type ) {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0$feed = get_post_type_archive_feed_link( $post_type );<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0if ( $feed === '' || !is_string( $feed ) ) {<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0 \u00a0 \u00a0 \u00a0 \u00a0\u00a0$feed = get_bloginfo( 'rss2_url' ) . \"?post_type=$post_type\";<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0}<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0 \u00a0 \u00a0\u00a0printf(__('&lt;link rel=\"%1$s\" type=\"%2$s\" href=\"%3$s\" \/&gt;'),\"alternate\",\"application\/rss+xml\",$feed);<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">\u00a0 \u00a0\u00a0}<\/span>\r\n\r\n<span data-preserver-spaces=\"true\">}<\/span><\/pre>\n<h1><span data-preserver-spaces=\"true\">CBX RSS Feed for Custom Post Types Plugin<\/span><\/h1>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-527\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-wordpress-org-plugins-search-CBX-RSS-Feed-for-Custom-Post-Types-2022-01-04-18_15_55-edit.jpg\" alt=\"\" width=\"877\" height=\"495\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-wordpress-org-plugins-search-CBX-RSS-Feed-for-Custom-Post-Types-2022-01-04-18_15_55-edit.jpg 1389w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-wordpress-org-plugins-search-CBX-RSS-Feed-for-Custom-Post-Types-2022-01-04-18_15_55-edit-300x169.jpg 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-wordpress-org-plugins-search-CBX-RSS-Feed-for-Custom-Post-Types-2022-01-04-18_15_55-edit-1024x578.jpg 1024w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screencapture-wordpress-org-plugins-search-CBX-RSS-Feed-for-Custom-Post-Types-2022-01-04-18_15_55-edit-768x433.jpg 768w\" sizes=\"auto, (max-width: 877px) 100vw, 877px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">If you don&#8217;t want to use the coding method, you can try the CBX RSS Feed for Custom Post Types plugin.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">WordPress only displays posts in the RSS feed by default, but it does not show pages or other custom post types in the RSS feed.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">This plugin works as RSS Feed Manager for custom post types and helps you to show your Custom Post Types in RSS Feed. Moreover, it gave you the custom control to display custom post types in the RSS feed.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Now, Install and Activate the plugin.<\/span><\/p>\n<p><span data-preserver-spaces=\"true\">Go to plugins &gt;&gt; search new &gt;&gt; CBX RSS Feed for Custom Post Types &gt;&gt; Install &gt;&gt; Activate.<\/span><\/p>\n<p>Then, go to settings &gt;&gt; custom post RSS.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-529\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screenshot-2.png\" alt=\"\" width=\"729\" height=\"520\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screenshot-2.png 612w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screenshot-2-300x214.png 300w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/p>\n<p>Here, you can select the option you want and then save changes.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-530\" src=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screenshot-3.png\" alt=\"\" width=\"729\" height=\"483\" srcset=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screenshot-3.png 944w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screenshot-3-300x199.png 300w, https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/screenshot-3-768x508.png 768w\" sizes=\"auto, (max-width: 729px) 100vw, 729px\" \/><\/p>\n<p><span data-preserver-spaces=\"true\">With this plugin, you have custom control to display custom post types in the RSS feed.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The WordPress RSS feed displays the recent post only by default. In WordPress, if you use custom post types for other content, then you may want to combine them in your main RSS feed. Read the article until the end if you want to know how to add custom post types to your WordPress RSS [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":548,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-526","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wp-tutorials"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v19.3 (Yoast SEO v27.5) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>how to add custom post types to your main WordPress RSS feed.\u00a0<\/title>\n<meta name=\"description\" content=\"This write-up will explain how to add custom post types to your main WordPress RSS feed. You will get different codes along with a plugin.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Add Custom Post Types to Your WordPress RSS Feed\" \/>\n<meta property=\"og:description\" content=\"This write-up will explain how to add custom post types to your main WordPress RSS feed. You will get different codes along with a plugin.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/\" \/>\n<meta property=\"og:site_name\" content=\"Hostkicker\" \/>\n<meta property=\"article:published_time\" content=\"2022-01-04T14:29:31+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-05-17T06:08:36+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/row-25.png\" \/>\n\t<meta property=\"og:image:width\" content=\"693\" \/>\n\t<meta property=\"og:image:height\" content=\"511\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Olivia Smith\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:title\" content=\"How to Add Custom Post Types to Your WordPress RSS Feed\" \/>\n<meta name=\"twitter:description\" content=\"This write-up will explain how to add custom post types to your main WordPress RSS feed. You will get different codes along with a plugin.\" \/>\n<meta name=\"twitter:image\" content=\"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/row-25.png\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Olivia Smith\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/\"},\"author\":{\"name\":\"Olivia Smith\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\"},\"headline\":\"How to Add Custom Post Types to Your WordPress RSS Feed\",\"datePublished\":\"2022-01-04T14:29:31+00:00\",\"dateModified\":\"2022-05-17T06:08:36+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/\"},\"wordCount\":604,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/row-25.png\",\"articleSection\":[\"Wp tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/\",\"name\":\"how to add custom post types to your main WordPress RSS feed.\u00a0\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/row-25.png\",\"datePublished\":\"2022-01-04T14:29:31+00:00\",\"dateModified\":\"2022-05-17T06:08:36+00:00\",\"description\":\"This write-up will explain how to add custom post types to your main WordPress RSS feed. You will get different codes along with a plugin.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/#primaryimage\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/row-25.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2022\\\/01\\\/row-25.png\",\"width\":693,\"height\":511,\"caption\":\"How to Add Custom Post Types to Your WordPress RSS Feed\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Add Custom Post Types to Your WordPress RSS Feed\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"name\":\"Hostkicker\",\"description\":\"Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#organization\",\"name\":\"Hostkicker\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"contentUrl\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/wp-content\\\/uploads\\\/2021\\\/12\\\/hostkicker-logo-01.png\",\"width\":940,\"height\":218,\"caption\":\"Hostkicker\"},\"image\":{\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/#\\\/schema\\\/person\\\/f06306b595baa96c90a0491b941d7660\",\"name\":\"Olivia Smith\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g\",\"caption\":\"Olivia Smith\"},\"url\":\"https:\\\/\\\/hostkicker.com\\\/blog\\\/author\\\/olivia\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"how to add custom post types to your main WordPress RSS feed.\u00a0","description":"This write-up will explain how to add custom post types to your main WordPress RSS feed. You will get different codes along with a plugin.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/","og_locale":"en_US","og_type":"article","og_title":"How to Add Custom Post Types to Your WordPress RSS Feed","og_description":"This write-up will explain how to add custom post types to your main WordPress RSS feed. You will get different codes along with a plugin.","og_url":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/","og_site_name":"Hostkicker","article_published_time":"2022-01-04T14:29:31+00:00","article_modified_time":"2022-05-17T06:08:36+00:00","og_image":[{"width":693,"height":511,"url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/row-25.png","type":"image\/png"}],"author":"Olivia Smith","twitter_card":"summary_large_image","twitter_title":"How to Add Custom Post Types to Your WordPress RSS Feed","twitter_description":"This write-up will explain how to add custom post types to your main WordPress RSS feed. You will get different codes along with a plugin.","twitter_image":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/row-25.png","twitter_misc":{"Written by":"Olivia Smith","Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/#article","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/"},"author":{"name":"Olivia Smith","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660"},"headline":"How to Add Custom Post Types to Your WordPress RSS Feed","datePublished":"2022-01-04T14:29:31+00:00","dateModified":"2022-05-17T06:08:36+00:00","mainEntityOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/"},"wordCount":604,"commentCount":0,"publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/row-25.png","articleSection":["Wp tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/","url":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/","name":"how to add custom post types to your main WordPress RSS feed.\u00a0","isPartOf":{"@id":"https:\/\/hostkicker.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/#primaryimage"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/#primaryimage"},"thumbnailUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/row-25.png","datePublished":"2022-01-04T14:29:31+00:00","dateModified":"2022-05-17T06:08:36+00:00","description":"This write-up will explain how to add custom post types to your main WordPress RSS feed. You will get different codes along with a plugin.","breadcrumb":{"@id":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/#primaryimage","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/row-25.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/row-25.png","width":693,"height":511,"caption":"How to Add Custom Post Types to Your WordPress RSS Feed"},{"@type":"BreadcrumbList","@id":"https:\/\/hostkicker.com\/blog\/how-to-add-custom-post-types-to-your-wordpress-rss-feed\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/hostkicker.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Add Custom Post Types to Your WordPress RSS Feed"}]},{"@type":"WebSite","@id":"https:\/\/hostkicker.com\/blog\/#website","url":"https:\/\/hostkicker.com\/blog\/","name":"Hostkicker","description":"Blog","publisher":{"@id":"https:\/\/hostkicker.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/hostkicker.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/hostkicker.com\/blog\/#organization","name":"Hostkicker","url":"https:\/\/hostkicker.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","contentUrl":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2021\/12\/hostkicker-logo-01.png","width":940,"height":218,"caption":"Hostkicker"},"image":{"@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/hostkicker.com\/blog\/#\/schema\/person\/f06306b595baa96c90a0491b941d7660","name":"Olivia Smith","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/24a6b2466362238ad275f97a2f2fc49ce8d139c034114d6b9c52de1b12ebf1bd?s=96&d=mm&r=g","caption":"Olivia Smith"},"url":"https:\/\/hostkicker.com\/blog\/author\/olivia\/"}]}},"jetpack_featured_media_url":"https:\/\/hostkicker.com\/blog\/wp-content\/uploads\/2022\/01\/row-25.png","_links":{"self":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/comments?post=526"}],"version-history":[{"count":3,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/526\/revisions"}],"predecessor-version":[{"id":543,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/posts\/526\/revisions\/543"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media\/548"}],"wp:attachment":[{"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/media?parent=526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/categories?post=526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hostkicker.com\/blog\/wp-json\/wp\/v2\/tags?post=526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}