I have category-country.php page and also I have single-country.php where i need to place a next and prev post with in same country that I have different project at country category having USA, China, India,etc sub category having different project post. And also I have Project category and Project-type category having different sub category. All different project post lies at different parent ad sub category. Here, I just need a next and previous post link at single-country.php page where if we click at next ore prev it should only go with in sub or child category with in India or USA or China. I try a lot as Next and prev. post link ONLY within category

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.