if you use the native wp_query
to select posts instead of custom sql queries you can check against the have_posts()
method of wp_query
if you use the native wp_query
to select posts instead of custom sql queries you can check against the have_posts()
method of wp_query