Using multiple loops with categories that overlap
-
Hi all,
I have to sections, a “most recent review” section, and a “most recent features” section. here’s the code I have for it so far: https://slexy.org/paste/91
The problem starts on line 16, where I want the most recent review (that’s not already featured) to be up. But if there’s an article that is in both categories, and the value of the query is set to 1, then only the featured section will show an article, and the recent reviews wont.Which is why I have the value set to two. But that’s the problem. If the article isn’t in both categories, then TWO posts will show up in the recent reviews section, and that won’t look good for the design.
So anyone know how to fix this? If so I’d be greatful for you to help me out on this. I’ve been through the codex multiple times and have browsed the forums with no luck.
Thanks,
TakumiPS. I’m using WP 2.0.4
- The topic ‘Using multiple loops with categories that overlap’ is closed to new replies.