I am trying to make a custom template to query posts posted in regular WordPress Category AND custom posts created by the Plugin "All In One Event Calendar".
I have created a template page that will call either query. Is it possible to call both at the same time? This is what I have so far:
$paged = (get_query_var('paged')) ? get_query_var('paged') : 1; $args = array( 'cat' => 20, 'paged' => $paged ); $cals = array( 'post_type'=> 'ai1ec_event', 'paged' => $paged ); $myquery = array_merge($args,$cals); query_posts($myquery);
I want $myquery to show all the posts in BOTH $args and $cals at the same time.