Make an if/else statement for two or more loops?
-
On my archive/taxonomy page I′m using two loops to output post from two categories. I need an if statement that says “if there are no posts in neither loops do something” – So I can display a “No posts found”. How can I make this happen?
- The topic ‘Make an if/else statement for two or more loops?’ is closed to new replies.