WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to exclude a specific Post Format from next_post and prev_post? I want my asides to show up in the regular list of posts on the main blog page, but when a user is navigating through single post pages with next and prev links, I don't want the asides to show up.

share|improve this question
You'll have to search the answers here for $page/$paged to detemine on which page you're and the pre_get_posts filter to see how to intercept the query and filter stuff (like post formats) out. – kaiser Apr 19 '12 at 13:48

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.