Support » Fixing WordPress » How to use next_post_link or previous_post_link for parent/child categories.

  • Hi all.

    <?php echo "←"; ?><?php previous_post_link('%link &raquo;', '%title', TRUE,''); ?>
    <?php next_post_link('%link &raquo;', '%title', TRUE,''); ?> <?php echo "→"; ?>

    So what I’m trying to do here is to get links for the previous and next posts in the category, but inside the same child category, not just inside the same parent category, is this possible?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘How to use next_post_link or previous_post_link for parent/child categories.’ is closed to new replies.