WordPress.org

Support

Support » Themes and Templates » Previous and Next Posts Within Child Category

Previous and Next Posts Within Child Category

  • yankeefan2225
    Member

    @yankeefan2225

    Hi all.

    <?php echo "←"; ?><?php previous_post_link('%link', '%title', TRUE,''); ?>
    <?php next_post_link('%link', '%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, any ideas/is this even possible?

    Thanks!

  • The topic ‘Previous and Next Posts Within Child Category’ is closed to new replies.