I am not really sure how to double the conditions. Basically, I took the code from another forum on search pages and modified it some to match what I wanted but I didn’t do anything major, just some text additions. I will share the code below.
<?php
get_header();?>
<div id="primary" class="custom-search-page content-area col-md-9">
<main id="main" class="post-wrap" role="main">
<?php if ( have_posts() ) : ?>
<header class="page-header">
<h3 class="results-header"><?php echo $wp_query->found_posts; ?>
<?php _e( 'Search Results Found For', 'locale' ); ?>: "<?php the_search_query(); ?>"</h3>
<div class="custom-search-box">
<p><?php get_search_form(); ?></p>
<p>Type your text and hit enter to search...</p>
</div>
</header><!-- .page-header -->
<?php /* Start the Loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<div class="custom-search-results">
<div>
<?php if ( has_post_thumbnail() ): ?>
<?php the_post_thumbnail( 'medium'); ?>
<?php endif ?>
</div>
<a href="<?php the_permalink();?>"><h3><?php the_title(); ?></h3></a></div>
<?php
/**
* Run the loop for the search to output the results.
* If you want to overload this in a child theme then include a file
* called content-search.php and that will be used instead.
*/
get_template_part( 'content', 'search' );
?>
<?php endwhile; ?>
<?php the_posts_navigation(); ?>
<?php else : ?>
<?php get_template_part( 'content', 'none' ); ?>
<?php endif; ?>
</main><!-- #main -->
</div><!-- #primary -->
<?php get_footer(); ?>
Thank you again for your help!