' . __( 'Search:', 'spawp' ) . '', '“' . get_search_query() . '”' ); if ( $wp_query->found_posts ) { $archive_subtitle = sprintf( /* translators: %s: Number of search results. */ _n( 'We found %s result for your search.', 'We found %s results for your search.', $wp_query->found_posts, 'spawp' ), number_format_i18n( $wp_query->found_posts ) ); } else { $archive_subtitle = __( 'We could not find any results for your search. You can give it another try through the search form below.', 'spawp' ); } } elseif ( is_archive() && ! have_posts() ) { $archive_title = __( 'Nothing Found', 'spawp' ); } elseif ( ! is_home() ) { $archive_title = get_the_archive_title(); $archive_subtitle = get_the_archive_description(); } if ( $archive_title || $archive_subtitle ) { ?> '', 'next_text' => '', ) ); // If comments are open or we have at least one comment, load up the comment template. if ( comments_open() || get_comments_number() ) : comments_template(); endif; else: get_template_part( 'partials/none' ); endif; ?>