Exclude Sticky Posts as everyone!
I'm trying to exclude 3 Sticky posts from my blogs loop, I tried some snippets of code, but with no success. I could use some help.
?php if ( $posts-have_posts() ) : ?
?php /* Start the Loop */ ?
?php while ( $posts-have_posts() ) : $posts-the_post(); ?
?php get_template_part( 'content', get_post_format() ); ?
?php endwhile; ?
div class=clearfix/div
?php else : ?
?php get_template_part( 'content', 'none' ); ?
?php endif; ?
div class=clearfix/div
?php $wp_query = new WP_Query($args); global $wp_query; if ($wp_query-max_num_pages != 1) { ?
Topic sticky-post Wordpress
Category Web