Forum Replies Created

Viewing 1 replies (of 1 total)
  • Hi fellas,

    I’ve been looking for a solution all day, and damn is to say, I didn’t find nothing.

    I’d like to display only links to posts from the same subcategory, but it doesn’t seem to be working.

    I’ve investigated, and couldn’t go further than get_adjacent_post in link-template.php.

    I echoed $posts_in_ex_cats_sql to see what was in there and got:
    AND tt.taxonomy = ‘category’ AND tt.term_id NOT IN (5)

    which seems actually to be fine as 5 is, in this case, the one category I don’t want. (and in the other case, the “excluded” category is correctly 6).

    But, it doesn’t work: I’m still given the link to the next post, which is in the very category I don’t want.

    I’ve got version 2.7.x, from what I understand the problem has been here for a long time, and still not fixed, how come?

    And, has somebody any clue how to fix that? It doesn’t seem to be too complicated, but I’m just not good enough in php to go further.

    Thanks a lot for your help

Viewing 1 replies (of 1 total)