Title: Next/Previous post navigation problem
Last modified: August 20, 2016

---

# Next/Previous post navigation problem

 *  [singout](https://wordpress.org/support/users/singout/)
 * (@singout)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/nextprevious-post-navigation-problem/)
 * I would like to have the next/previous post links operation *only* within the
   same categories. I did find a page with reference to a toggle (“in_same_cat”)
   that can be set so that it will operate as I’m hoping … but I’m too much of a
   newbie to understand where to look to find that parameter to change the setting.
   I get that it would mean editing a PHP file, but I’ve looked at most on them 
   in my installation, and can’t find it.
 * Anyone know where, specifically, to look? Or is there a plugin that can make 
   this option a little less geeky to resolve?
 * Thanks!!!
 * Mark

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Michael](https://wordpress.org/support/users/alchymyth/)
 * (@alchymyth)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/nextprevious-post-navigation-problem/#post-2670763)
 * try to look into single.php
 * [http://codex.wordpress.org/Function_Reference/next_post_link](http://codex.wordpress.org/Function_Reference/next_post_link)
   
   [http://codex.wordpress.org/Function_Reference/previous_post_link](http://codex.wordpress.org/Function_Reference/previous_post_link)
 *  Thread Starter [singout](https://wordpress.org/support/users/singout/)
 * (@singout)
 * [14 years, 1 month ago](https://wordpress.org/support/topic/nextprevious-post-navigation-problem/#post-2670832)
 * Thanks for the help.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Next/Previous post navigation problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [singout](https://wordpress.org/support/users/singout/)
 * Last activity: [14 years, 1 month ago](https://wordpress.org/support/topic/nextprevious-post-navigation-problem/#post-2670832)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
