Support » Plugins and Hacks » 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:
    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.

    PS. I’m using WP 2.0.4

Viewing 2 replies - 1 through 2 (of 2 total)
  • It’d be great is someone could help me out with this. I’d be really thankful!… and I really doubt this is just one of those “oh this guy doesn’t know how to use loops” things. So please, just take a look.

    You tell wp “do not show duplicate postings” in all of your loops and so I think thats the beginning of your problem..

    because a post in both of this categories is a duplicate entry

    I hope you understand my meanings


Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Using multiple loops with categories that overlap’ is closed to new replies.