You could use post__in
as a parameter in your WP_Query
, like:
$favourite_posts = new WP_Query(
array(
'post__in' => array( 111, 222, 333 ),
'orderby' => 'ID'
)
);
You could use post__in
as a parameter in your WP_Query
, like:
$favourite_posts = new WP_Query(
array(
'post__in' => array( 111, 222, 333 ),
'orderby' => 'ID'
)
);