Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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

 
discard

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

Browse other questions tagged or ask your own question.