Support » Theme: Tiny Framework » Prev/Next within same category
10 months ago
I’d like to set my site up so that the “previous” and “next” links at the bottom of each post link only to articles from within the same category.
According to the WordPress Codex this is possible by changing a parameter called in_same_term on the next_post_link() function.
Where can I change this in Tiny-Framework?
The support forums seem to suggest that this should be in single.php but I can’t find that function there. I have traced other functions that look similar but I can’t find a call to these native ones.
A little further digging and I added 'in_same_term'=>true to the the_post_navigation() function in the file single.php and it’s now working.
3 months ago
Thank you for the idea! I will include it as Tip91 in the upcoming version.