if no posts (outside The Loop)
-
Using
$post = $wp_query->post;
to use in_category(n) outside The Loop, is there a way, in an elseif statement, to target if there’s no posts?
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘if no posts (outside The Loop)’ is closed to new replies.