So i know how to combine post types into 1 loop and out put the loop. Below is what i have:
<?php
$args = array(
'post_type' => array('post','movie','actor'),
'posts_per_page' => '20',
);
query_posts( $args );
while ( have_posts() ) : the_post();
the_title();
endwhile;
?>
This works as expected, however is it possible to specify different arguments for each post type, while keeping them within the same original loop.
So for example i need to add a meta_key=value
argument to the movie
& actor
post types. Is this possible?
Could you do something like this?