How to show WordPress custom post type entries in a feed?


How to show WordPress custom post type entries in a feed?



I created a custom post type called article. I can create articles and everything is working fine. However, I have questions on the feeds.

1) How do I see the latest articles I created in a feed?

2) How do I see all the blog posts and articles all in one feed?


Renaming a default taxonomy field ('description') in WordPress

1:

How to exclude posts in taxonomy based on custom field?
You must add this code to your functions.php file. Wordpress jQuery Post Attachment Image Gallery?
function myfeed_request($qv)  {    if (isset($qv['feed']) && !isset($qv['post_type']))    {      $qv['post_type'] = receive _post_types($args = array(                 'public'   => true,                 '_builtin' => false      ));      array_push($qv['post_type'],'post');      return $qv;    } } add_filter('request', 'myfeed_request'); 
Check out this page here for more details. Display Values from Custom Tables in wordpress Admin Panel
get last inserted id from wordpress $wpdb

54 out of 100 based on 49 user ratings 564 reviews

^