Support » Fixing WordPress » Next/Previous Links

  • scooby

    (@scooby)


    I’ve been looking around for a way to exclude certain categories from my next and previous links, and this is what I found:

    <?php next_post_link('%link &raquo;', 'Next: (%title)', FALSE, '3, 4'); ?>

    It just doesn’t seem to be working for me.. Is it written out properly for the new version (WP2.5). Or maybe it’s actually working, but it’s just doing something that Im not expecting. I expect it would remove categores 3 and 4 from those links entirely.. Am I right??

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Next/Previous Links’ is closed to new replies.