Horje

Add your custom post types to your sites main RSS feed by default

// ADD CUSTOM POST TYPES TO THE DEFAULT RSS FEED
function custom_feed_request( $vars ) {
 if (isset($vars['feed']) && !isset($vars['post_type']))
  $vars['post_type'] = array( 'post', 'site', 'plugin', 'theme', 'person' );
 return $vars;
}
add_filter( 'request', 'custom_feed_request' );



Single Articles
Code of Include custom post types in the search resultsWordpress Search Shortcode
Add your custom post types to your sites main RSS feed by defaultWordpress Search Shortcode
This will include your custom post types and the post counts for each type in the "Right Now" dashboard widgetWordpress Search Shortcode


Related Articles
How to Include custom post types in the search results Wordpress Search Shortcode

Category:
Web Tutorial
Sub Category:
Wordpress Search Shortcode
Uploaded by:
Admin