Hi. I just used that snippet of code to acheive the desired effect– I no longer navigate outside the issue I’m in. However, now I get no “next/previous” options for the other posts.
I am using post link plus plugin (It’s the only way I could get the articles to navigate without using WordPress default taxonomy.
thanks.
https://wordpress.org/plugins/issuem/