WordPress.org

Ready to get started?Download WordPress

Forums

Previous and Next Posts Within Child Category (1 post)

  1. yankeefan2225
    Member
    Posted 4 years ago #

    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!

Topic Closed

This topic has been closed to new replies.

About this Topic