I've been getting a lot of pm's for the copy of the codes so I thought I would just post it here to make it easier for everyone.
replace your codes with the following
The code for the index.php file is:
< ?php
// Empty search fixes
if ( isset($_GET['resume_search']) && $_GET['resume_search'] ) :
if (isset($_GET['s']) && isset($_GET['location']) && !empty($_GET['location'])) : get_template_part('search-resume'); return; endif;
wp_safe_redirect(get_post_type_archive_link('resum e'));
exit;
endif;
if (isset($_GET['s']) && isset($_GET['location']) && !empty($_GET['location'])) : get_template_part('search'); return; endif;
?>
< ?php get_header('search'); ?>
<div class="section">
< ?php do_action('after_search_results'); ?>
< p style="text-align: center;"></p>
< p style="text-align: center;"></p>
< p style="text-align: center;"></div><!-- end section -->
< /div><!-- end main content -->
< ?php if (get_option('jr_show_sidebar')!=='no') get_sidebar(); ?>
The code for the search.php file is:
< ?php if (isset($_GET['resume_search']) && $_GET['resume_search']) : get_template_part('search-resume'); return; endif; ?>
< ?php if (isset($_GET['location'])) $_GET['location'] = urldecode(utf8_uri_encode($_GET['location'])); ?>
< ?php get_header('search'); ?>
<?php do_action('after_search_results'); ?>
<div class="clear"></div>
< /div><!-- end main content -->
< ?php if (get_option('jr_show_sidebar')!=='no') get_sidebar(); ?>