Site icon Hip-Hop Website Design and Development

How one can add posts, manually, to a wp_query?

$recent_query = new WP_Query(array (
    'post_status'   => 'publish',
    'posts_per_page' => -1
) );

//$recent_query->posts[] = get_post(1480);
//$recent_query->posts[] = get_post(1443);

array_unshift($recent_query->posts,  get_post(1480), get_post(1443));
print_r($recent_query->posts);

// The Loop
if( $recent_query->have_posts() ) : ?>
    <?php whereas( $recent_query->have_posts()) : $recent_query->the_post() ?>
[...]

I need to add 2 arbitrary posts to my question and loop. both of the above strategies will get the posts into $recent_query->posts

Utilizing the $recent_query->posts[] = get_post(1480); code, the guide posts will probably be within the array, however wont present up, within the loop.

Utilizing array_unshift($recent_query->posts, get_post(1480), get_post(1443)); the orginal posts are deleted and reveals solely the guide posts, within the loop.