I have 2 or more loops using wp query on page. How to check if all of them have posts and make else statement. Example if loop A & loop B dont have posts echo 'nothing found'
Thanks
I have 2 or more loops using wp query on page. How to check if all of them have posts and make else statement. Example if loop A & loop B dont have posts echo 'nothing found'
Thanks
please paste the code into a http://pastebin.com/ and post the link to it here, to avoid guesswork ...
You must log in to post.