wp_query() specific posts with post__in
-
Hello,
I’m trying to get a specific amount of pages using post__in, I’ve tried it several ways but it always give a blank result. What am I doing wrong?
$bloblor = array(43,45); $args = array( 'post__in' => $bloblor); $spotlight = new WP_Query($args); while ($spotlight->have_posts()) : $spotlight->the_post(); $do_not_duplicate = $post->ID; ?> <?php the_content(); ?> <?php endwhile; ?>
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘wp_query() specific posts with post__in’ is closed to new replies.