Forum Replies Created

Viewing 3 replies - 1 through 3 (of 3 total)
  • Joe,
    I don’t think the patch mentioned here is what you need to solve your issue.

    Limiting previous/next navigation to posts in the same category works as expected with the previous_post() and next_post() functions documented here.

    Notice the “in_same_cat” parameter.

    Somehow I was able to apply the patch mentioned above, and it seems to be working for me even when I exclude multiple categories.

    The trick -appears to be- is to list the excluded categories in descending order.

    So ‘1 and 11 and 19’ didn’t work
    But ’19 and 11 and 1′ seems to work perfectly.

    Hey… newbie here…

    I just run into this same problem: Posts from an excluded category are still showing up in my previous and next post links in the single.php template.

    The following code is not working for me:
    <?php previous_post(‘%’,’Previous’,’no’,”,”,’1 and 11′); ?>

    I’ve tried it excluding only one category, as integer, as string, with default values for all other variables, without, etc… The categories are not being excluded from the links… even if I assign the post to only one category and only exclude that one.

    Not sure if I’m reading this right, but the bug reported in ticket 2215 appears to be fixed?

    If so, could someone please tell me what I need to do to get the fix?

    (I’m not a developer, so I’m not quite sure of what to do with the attachments on those tickets..)

    thanks in advance…

Viewing 3 replies - 1 through 3 (of 3 total)