Support » Themes and Templates » Next and Previous posts for specific categories only

  • Hi guys,

    I have custom template pages, is there any way to have it so when you click to view a previous post the link you are taken to loads the current template you were on? it keeps going back to my default template, not the one peculiar to that particular user. Maybe something with querystrings?

    Also as an extension to the last question, when I click on “previous posts” I am taken to the last archived post (I forget which WordPress page this is?) but on this page the previous and forward links relate to posts from other users, not just the user I want them to relate to. Again, is there anyway I can get only the previous and next posts for this user (possibly more querystring stuff)??

    Tips or links be much appreciated

    Thanks guys!

Viewing 1 replies (of 1 total)
  • Is there a way to specify a template to load this in:

    <?php previous_post_link(‘%link’, ‘Previous in cat’, true, ‘Uncategorized’); ?>

    e.g. the current template I’m on so that clicking on a “previous” link doesn’t take me directly to the archives pages which is the wrong template?

Viewing 1 replies (of 1 total)
  • The topic ‘Next and Previous posts for specific categories only’ is closed to new replies.