I am in a situation where I need the post navigation to work in same ancestor category NOT ONLY IN SAME CATEGORY.
In the above category structure I want the post navigation to work on all the posts in CATEGORY-A not just subcat1 or subca1-I…
According to the Codex <?php previous_post_link($format, $link, $in_same_cat = true, $excluded_categories = ''); ?>
provides the navigation “previous post” in same category but how can i get the navigation in same ancestor category?
The topic ‘Post navigation in same ancestor category’ is closed to new replies.