Home Tags Exclude

Tag: Exclude

Exclude post ID from wp_query

'test-cat-1', 'order' => 'ASC'); $q1 = new WP_query($args); if($q1->have_posts()) : $firstPosts = array(); while($q1->have_posts()) : $q1->the_post(); $firstPosts = $post->ID; // add post id to array echo ' '; echo " " . get_the_title()...

HOT NEWS