WordPress.org

Support

Support » How-To and Troubleshooting » Next / Prev post: “excluded_category ” doesn’t work?

Next / Prev post: “excluded_category ” doesn’t work?

  • Hello all,

    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:
    http://codex.wordpress.org/Template_Tags/next_post

    I have this code snippet in “single.php”:

    <?php next_post('%', '&laquo;', '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?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Next / Prev post: “excluded_category ” doesn’t work?’ is closed to new replies.
Skip to toolbar