I'm building a content slider that needs to show posts from a custom post type called "Features," and also show standard blog posts that are assigned to a "Featured" category. I'd like to do this within a single loop. Can anyone help me put together the query that could handle this?
Fix paging issues:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1;
Query to add in custom post types:
query_posts( array( 'post_type' => array( 'post', 'custom_post_type_name' ), 'paged' => $paged ) );
Start the main loop
if (have_posts()) : while (have_posts()) : the_post(); //Post content endwhile; endif; ?>