• hi guys im new I can not get these two if statements to work at the same time.
    one will work is I take one away please help.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    What behavior are you expecting? I tested your code on my site, changing only the post type of each query and removing anything meta data related. The result is posts listed under both queries. Should either query not return anything, I’m sure no output from that section would occur. If you’re having trouble, it’s probably related to the metadata portions of your queries, not the if statements.

Viewing 1 replies (of 1 total)
  • The topic ‘have_posts() if statment will not work at the same time’ is closed to new replies.