Closed DB-Alex closed 8 years ago
The $type variable is set to false when there are no results for a wp_query on the archive page. This way we have a fallback to get the correct post_type even when no results are present.
The $type variable is set to false when there are no results for a wp_query on the archive page. This way we have a fallback to get the correct post_type even when no results are present.