WordPress.org

Support

Support » Plugins and Hacks » Modifying Next and Previous Post Links?

Modifying Next and Previous Post Links?

  • Following are the functions used for displaying navigation links on the posts and pages.

    <?php previous_post_link(‘%link’) ?>
    <?php next_post_link(‘%link’) ?>

    Can i modify them so that if i am viewing a post from category “wordpress”, nest and previous posts link point to next and previous post of the same category ???

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Modifying Next and Previous Post Links?’ is closed to new replies.
Skip to toolbar