I have a custom post type
name->('portfolio'), with a taxonomy name
What I want is to add next and previous links on its single page file which is single-portfolio.php. When I click either of the links, it should redirect to the next or previous post in the same post type and in the same taxonomy term.
previous_post_link() but it seems that it only works in single post but not in single custom post type..
Any suggestions will greatly be appreciated.