Post loop for specific post ids?
-
I got a query made to loop for specific post ids (below).
But when I run the loop it just displays the most recent posts.
What can I do to fix this?
<?php $post_id = array(483,486); $posts = get_posts( $post_id); foreach( $posts as $post ) : setup_postdata($post); ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Post loop for specific post ids?’ is closed to new replies.