Support » Theme: Tiny Framework » Prev/Next within same category

  • Resolved yknivag


    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.



Viewing 2 replies - 1 through 2 (of 2 total)
  • 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.

    Theme Author Tomas Mackevicius


    Thank you for the idea! I will include it as Tip91 in the upcoming version.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Prev/Next within same category’ is closed to new replies.