Title: post/category navigation question!
Last modified: August 19, 2016

---

# post/category navigation question!

 *  [meks413](https://wordpress.org/support/users/meks413/)
 * (@meks413)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/postcategory-navigation-question/)
 * Hello!
 * so, I’m using this code
    `<?php next_post_link('%link', 'previous', $in_same_cat
   = true) ?>` for the previous/next buttons that navigate from one post to another.
   but what I’m trying to find out, is how can a user click the next button, at 
   the last post of a category, and get to the first post of the next category? 
   right now, when clicking next a few times, the category finishes, and the next
   button disappears.
 * is there an option for defining a way to get to the first post of the next category,
   from the last post of the previous one, by adding some code to this?
 * thanx in advance!
    -max

The topic ‘post/category navigation question!’ is closed to new replies.

 * 0 replies
 * 1 participant
 * Last reply from: [meks413](https://wordpress.org/support/users/meks413/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/postcategory-navigation-question/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
