previous_post_link in same taxonomy not working
-
I have my cutom post taxonomy which is term_taxonomy_id (it’s a reference to the ID of custom category of posts) and want to put prev/next post link but
<?php while ( have_posts() ) : the_post(); next_post_link('%link','Next post',true,'','id'); endwhile; ?>
simply doesn’t work (it doesn’t show any code in result page).
After removing three last arguments:
next_post_link('%link','Next post');
there is no problem with showing the link though (but it’s not in the same taxonomy of course which I’m not interested in).
WordPress version is 3.8 of course. Do you have any idea where the problem is?
- The topic ‘previous_post_link in same taxonomy not working’ is closed to new replies.