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.$layout
being the value you enter in this parameter. Defaults todefault
and therefore outputtingrecpress-job-board--default
. Only gets output ifoutput_wrapper
parameter is set to “true
“.card_layout
– adds acard-layout--{$layout}
class to each job wrapper in the job listing.$layout
being the value you enter in this parameter. Defaults todefault
and 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 anOR
query but can be set toAND
types
– 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_location
taxonomy.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 unordered list element.keywords
– enter a keyword to search by default.job_heading_level
– defaults toh2
so 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)
[recpress_job_listing page_layout="default" card_layout="default" listing_columns="1" show_filters="true" categories="" query_type="OR" types="" working_arrangements="" locations="" show_pagination="true" show_sort="false" found_jobs="true" class="" keywords="" job_heading_level="h2" excluded_jobs="" output_wrapper="true"]