I used orderby=date and orderby=comment_count to show my recent post and popular post, but sticky post is always there on the top.

How can exclude sticky posts?

1 Answer 1


You should also use ignore_sticky_posts=1 (it's default value is 0, so sticky posts aren't ignored and returned at top of posts list).

More on pagination parameters: http://codex.wordpress.org/Class_Reference/WP_Query#Pagination_Parameters

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.