I want to query multiple posts with an array of IDs (note: I am querying a custom post type).
Here's what I have, which isn't working:
$myarray = array(144, 246);
$args = array(
'post_type' => 'ai1ec_event',
'p' => $myarray
);
// The Query
$the_query = new WP_Query( $args );
Any tips on how to do this?