Use the shortcode [otys-vacancies-shortlist]
To output a shortlist of vacancies you can use the shortcode [otys-vacancies-shortlist]
. A shortlist is the a list of vacancies without pagination.
Attributes
To change the output of the shortcode [otys-vacancies-shortlist], you can add attributes. Listed below are the attributes available for the shortcode [otys-vacancies-list].
Attribute | Description | Example |
limit | Choose how many vacancies are displayed. Default: 10 | [otys-vacancies-shortlist limit="5"] |
owner | Show vacancies based on vacancy owner (consultant). | [otys-vacancies-shortlist owner="name@website.com"] |
relation | Show vacancies based on relation. The relation id can be found by navigating to your CRM and clicking the open new window button (the arrow in the right corner). The relation ID will be visible in the url (a numeric value) | [otys-vacancies-shortlist relation="xxxxxx"] |
Match criteria | It's possible to pre-filter on match criteria. To prefilter on match criteria you should add the match criteria name and option name as attribute to the shortcode. | [otys-vacancies-shortlist region="utrecht"] [otys-vacancies-shortlist region="utrecht,gelderland"] [otys-vacancies-shortlist region="utrecht,gelderland" hours-per-week="24-hours"] |
category | It's possible to pre-filter on category. To prefilter on category you should add the category slug and category option name as attribute to the shortcode. | [otys-vacancies-shortlist category="ict"] |
premium | It's possible to pre-filter on premium vacancies. To prefilter on premium vacancies you should add the premium slug to the shortcode with value true or false. True will show only premium vacancies and false will exclude all premium vacancies. | [otys-vacancies-shortlist premium="true"] [otys-vacancies-shortlist premium="false"] |
mode Available from version 2.0.23 | shortlist (default): Shows only vacancies which have publish in shortlist marked in OTYS. all: Shows all vacancies, the shortlist will not require the publish in shortlist checkbox to be marked in OTYS | [otys-vacancies-shortlist mode="all"] |
exclude Available from version 2.0.24 | Exclude a vacancy from the shortlist by uid | [otys-vacancies-shortlist exclude="VACANCY_UID"] |
search | It's possible to use a predefined keyword search to create a landingspage by specifying the search attribute | [otys-vacancies-list search="keyword"] |