Support » Fixing WordPress » Check category ID/name of next/previous posts in a loop…?

  • Resolved Daniel Flodin

    (@daniel-flodin)


    Is there any basic way I can check the category ID/name of next/previous posts in a loop and then use the information gathered in an if… else statement? I’ve had a quick look at get_adjacent_post(), but I can’t really seem to figure out how to implement it in the way I’d want it.

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Check category ID/name of next/previous posts in a loop…?’ is closed to new replies.