I have a query that grabs from posts various post types have a certain category. It worked in 3.5.1, but no more.
Now it just returns posts for the last post type listed.
Can anyone offer any guidance?
global $post; $args = array( 'numberposts' => 5, 'post_type' => array('press','news','tribe_events'), 'category' => '9' ); $myposts = get_posts( $args ); foreach( $myposts as $post ) : setup_postdata($post);