WP Job Manager Template Tags

Below is a list of template tags you can use with WP Job Manager. Each tag includes a description and an example of how to use it in your templates.

job_manager_get_listings()

Description: Retrieves a list of job listings based on the current query.

Example: <?php job_manager_get_listings(); ?>

job_manager_get_template_part()

Description: Loads a specific template part file for displaying job listings.

Example: <?php job_manager_get_template_part("content", "job-listing"); ?>

get_job_listings()

Description: Fetches job listings based on certain parameters.

Example: <?php $listings = get_job_listings(); ?>

get_job_listing()

Description: Retrieves details of a specific job listing.

Example: <?php $job_listing = get_job_listing($job_id); ?>

get_job_listing_meta()

Description: Gets meta information for a job listing.

Example: <?php $meta = get_job_listing_meta($job_id); ?>

job_manager_get_job_listing_url()

Description: Gets the URL for a specific job listing.

Example: <?php $url = job_manager_get_job_listing_url($job_id); ?>

get_job_listing_apply_url()

Description: Retrieves the URL where applicants can apply for a job listing.

Example: <?php $apply_url = get_job_listing_apply_url($job_id); ?>

job_manager_get_job_listing_fields()

Description: Fetches the fields for a job listing.

Example: <?php $fields = job_manager_get_job_listing_fields($job_id); ?>

job_manager_get_job_listing_post()

Description: Retrieves the post object for a job listing.

Example: <?php $post = job_manager_get_job_listing_post($job_id); ?>

job_manager_get_apply_form()

Description: Generates the application form for a job listing.

Example: <?php job_manager_get_apply_form($job_id); ?>