recpress_job_listings shortcode
The RecPress job listings shortcode is for displaying job listings anywhere on your site, optionally including any search and filtering.
Parameters
page_layout– adds arecpress-job-board--{$layout}class to the shortcode wrapper element.$layoutbeing the value you enter in this parameter. Defaults todefaultand therefore outputtingrecpress-job-board--default. Only gets output ifoutput_wrapperparameter is set to “true“.card_layout– adds acard-layout--{$layout}class to each job wrapper in the job listing.$layoutbeing the value you enter in this parameter. Defaults todefaultand therefore outputtingcard-layout--default.listing_columns– defaults to “1” to show columns in the listings. Can be set to any other number of columns.show_filters– defaults to “true” but can be set as “false” to remove the search and filtering options.categories– pipe (|) separate slugs to limit the jobs to certain categories.query_type– defaults to anORquery but can be set toANDtypes– pipe (|) separate slugs to limit the jobs to certain job types.working_arrangements– pipe (|) separate slugs to limit the jobs to certain working arrangements.locations– pipe (|) separate slugs to limit the jobs to certain locations from thejob_listings_locationtaxonomy.number– set to a number to show a specific number of jobs. Defaults to the settings in WP Job Manager.show_pagination– defaults to “true” but can be set to “false” to prevent the pagination options from displaying.show_sort– defaults to “false” but can be set to “true” to show the sorting dropdown.found_jobs– defaults to “true” to show the number of founds jobs from the query. Can be set to “false” to prevent this from displaying.class– add a pipe (|) separated list of CSS class names to be added to the job listings wrapper element.keywords– enter a keyword to search by default.job_heading_level– defaults toh2so the titles of the jobs in the listing use a level 2 heading. Can be set to any heading level value.excluded_jobs– a pipe (|) separated list of post IDs to exclude from the listings.output_wrapper– defaults to “true” to ensure that the output has a wrapper div. Can be set to “false” to remove this wrapper element.
Usage (including defaults)
Software Developer
Search jobs
Filter jobs