1, 'post__in' => get_option( 'sticky_posts' ), 'ignore_sticky_posts' => 1 ); query_posts( $args ); $do_not_duplicate = array(); $custom_query = new WP_Query( $args ); if ( $custom_query->have_posts() ): while ( $custom_query->have_posts() ) : $custom_query->the_post(); $do_not_duplicate[] = $post->ID; ?>
array('post'), 'paged' => $paged, 'ignore_sticky_posts' => 1, 'post__not_in' => get_option( 'sticky_posts' ) ) ); if ( have_posts() ) : ?>
id="post-">
array('post'), 'paged' => $paged, 'post__not_in' => array_merge($do_not_duplicate, get_option( 'sticky_posts' )), 'ignore_sticky_posts' => 1 ) ); if ( have_posts() ) : ?> ID; ?>
id="post-">