'service_theme', 'posts_per_page' => 6, 'meta_query' => array( array( 'key' => '', 'value' => 1, 'compare' => '<', 'type' => 'select', ), ), ); $my_query = new WP_Query($args); $counter = 0; while ($my_query->have_posts()): $my_query->the_post(); $do_not_duplicate = $post->ID;?>