I’m modifying a theme and have been trying to set it up to filter out one category of posts when browing next/prev from the single posts.
Using the guide here:
I have this code snippet in “single.php”:
<?php next_post('%', '«', 'no', 'no', '', '24'); ?>
Which I thought should keep someone from browsing past entries in category ID 24, but I just threw up a test post in that cat and I can still click my way to it from the earlier entry.
Using WP version 2.0.4. Am I missing something here?
- The topic ‘Next / Prev post: “excluded_category ” doesn’t work?’ is closed to new replies.