<?php
$resumes = $GLOBALS['wp_query'];
if ( $resumes->have_posts() ) : ?>
<?php get_job_manager_template( 'resumes-start.php', array(), 'wp-job-manager-resumes', RESUME_MANAGER_PLUGIN_DIR . '/templates/' ); ?>
<?php while ( $resumes->have_posts() ) : $resumes->the_post(); ?>
<?php get_job_manager_template_part( 'content', 'resume', 'wp-job-manager-resumes', RESUME_MANAGER_PLUGIN_DIR . '/templates/' ); ?>
<?php endwhile; ?>
<?php get_job_manager_template( 'resumes-end.php', array(), 'wp-job-manager-resumes', RESUME_MANAGER_PLUGIN_DIR . '/templates/' ); ?>
<?php else :
do_action( 'resume_manager_output_resumes_no_results' );
endif;