WP Job Manager

WP Job Manager provides a [jobs] shortcode to display a jobs listing. While FacetWP doesn’t directly support it, it’s possible to copy it using a FacetWP template.

First, go into Settings > FacetWP and create a new template labeled Jobs.

Display Code

On the right side of the template edit screen, click the Switch to advanced mode link. You should see a Display Code box. If so, enter the following:

<?php if ( have_posts() ) : ?>

    <?php get_job_manager_template( 'job-listings-start.php' ); ?>

    <?php while ( have_posts() ) : the_post(); ?>
        <?php get_job_manager_template_part( 'content', 'job_listing' ); ?>
    <?php endwhile; ?>

    <?php get_job_manager_template( 'job-listings-end.php' ); ?>

<?php else :
    do_action( 'job_manager_output_jobs_no_results' );
endif;

Query Builder

Finally, click the “Query” tab to open the Query Builder and select Jobs as the post type.

Show Resumes (instead of Jobs)

If you’re using Resume Manager to display resumes instead of jobs, select “Resumes” in the Query Builder, and use the following Display Code:

<?php if ( have_posts() ) : ?>

    <?php get_job_manager_template( 'resumes-start.php', array(), 'wp-job-manager-resumes', RESUME_MANAGER_PLUGIN_DIR . '/templates/' ); ?>

    <?php while ( have_posts() ) : 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;