'post', 'post_status' => 'publish', 'posts_per_page' => -1, ); $arke_posts = new WP_Query( $args ); if ( $arke_posts->have_posts() ) : echo ''; wp_reset_postdata(); else : echo '

' . esc_html__( 'Sorry, no posts matched your criteria.', 'arke' ) . '

'; endif; ?>