WP Job Manager adds several shortcodes which you can use to display jobs and forms. These are listed below.
An important note for all shortcodes: Ensure they are not wrapped with any tags when adding them to your posts/pages. To check this, view the page content in ‘html’ mode and remove any formatting surrounding the shortcodes. This will prevent styling issues.
↑ Back to Top jobs
The [jobs] shortcode outputs a list of your jobs as well as filters for searching.
This shortcode takes the following arguments:
per_page– Defaults to the ‘per page’ option in settings. This controls how many jobs get listed per page.
orderby– Defaults to ‘featured’. Supports title, ID, name, date, modified, parent, rand, featured
order– Defaults to ‘desc’. Can be set to ‘asc’ or ‘desc’ to choose the sorting direction.
show_filters– Defaults to true. Shows filters above the job list letting the user narrow the list by keyword, location, and job type. Once a filter is chosen, active filters are listed above the jobs, as is an ‘RSS’ link for the current search.
show_pagination– Defaults to false. Enable this to show numbered pagination instead of the ‘load more jobs’ link.
show_categories– Defaults to true when categories are enabled. If enabled, the filters will also show a dropdown letting the user choose a job category to filter by.
categories– Comma separate slugs to limit the jobs to certain categories. This option overrides ‘show_categories’ if both are set.
job_types– Comma separate slugs to limit the jobs to certain job types.
selected_job_types– Comma separate slugs to select by default.
location– Enter a location keyword to search by default.
keywords– Enter a keyword to search by default.
featured– Set to true to show only featured jobs, false to show no featured jobs, or leave out entirely to show both (featured first).
- filled – Set to true to show only filled jobs, false to show no filled jobs, or leave out entirely to respect the default settings.
If the URL of the page contains a query string and location or keywords is set, the values in the query string will populate the location and keywords fields instead of the above options.
Show 12 of the most recent jobs without filters and pagination:
[jobs per_page="12" show_filters="false"]
Show 20 jobs at a time, ordered by title, with categories disabled:
[jobs per_page="20" orderby="title" show_categories=false]
↑ Back to Top job
Outputs a single job by ID. You can find the id by viewing the list of jobs in admin. Example:
The listing will be output like a single job listing.
↑ Back to Top job_summary
Outputs a single job’s summary by ID.
You can find the id by viewing the list of jobs in admin. Example:
↑ Back to Top submit_job_form
This shortcode outputs the frontend submit job form. There are no other arguments needed for this shortcode – just add it to a page.
↑ Back to Top job_dashboard
This shortcode outputs the job dashboard used by logged in users. There are no other arguments needed.