Workable jobs shortcode and blocks

View as Markdown

Embed Workable jobs in WordPress with the Workable jobs shortcode [wkjb_jobs] or the Job List block, and filter by department or location.

On this page

Your jobs already have a list at /jobs/, an address you can change in the settings. Use these to show them anywhere else, such as a careers page you designed or a landing page.

Job list with department and location filters, rendered by Workable Jobs for WordPress
The job list, rendered by [wkjb_jobs] or the Job List block.

Which Workable jobs shortcode or block to use

ShortcodeWhat it showsBlock name
[wkjb_jobs]The job listwkjb/job-list
[wkjb_filters]The search and filter formwkjb/job-filters
[wkjb_job]One jobwkjb/single-job
[wkjb_apply]The apply area for one jobwkjb/application-form
[wkjb_job_meta]One job’s details: department, location, type and morewkjb/job-meta
[wkjb_job_sharing]Share links for one jobwkjb/job-sharing
[wkjb_related_jobs]Other open jobs like this onewkjb/related-jobs

In the block editor, search the inserter for “Job” to find Job List, Job Filters, Single Job, Job Application Form, Job Details, Job Sharing and Related Jobs. Each renders exactly what its shortcode renders. Job List and Job Filters show a live preview. The five blocks that show one job preview once a job ID is set; left blank, they show a placeholder and render the job being viewed.

The sidebar holds each block’s settings:

BlockSidebar settings
Job ListJobs per page, columns, department, location, employment type, workplace, grouping, and toggles for the filter form, count, pagination, department, location, date and excerpt.
Job FiltersUse the site setting or a switch per filter, location levels, job counts, hiding a one-option dropdown, and live results.
Single JobWorkable job ID, and toggles for the title, details and apply area.
Job Application Form, Job SharingWorkable job ID.
Job DetailsWorkable job ID, and a toggle per detail.
Related JobsWorkable job ID and the number of jobs, 1 to 12.

In a single job template, leave a one-job block’s ID blank; set one to pin a job on any page. Attributes without a sidebar setting, such as search or function, keep their default in a block; use the shortcode for those.

On block themes with WordPress 6.7 or newer, the plugin’s own job page templates are built from these blocks. See block templates.

Yes/no attributes take yes or no.

[wkjb_jobs]: the job list

AttributeDefaultWhat it does
per_pageThe Jobs per page setting, 20Jobs per page.
columns1Grid columns, 1 to 4.
departmentemptyShow one department only. Takes its name or slug, for example department="Engineering".
locationemptyShow only these locations: a country, region or city, by name or slug. A comma list shows jobs in any of them.
type, workplace, function, industry, experience, educationemptyThe same for the other job taxonomies, for example type="full-time,part-time" or workplace="remote".
officeemptyThe older name of location. Takes one location name.
searchemptyShow only jobs whose title, description, location, department or employment type contains this text.
show_filtersnoShow the search and filter form above the list, with the filters from the Filters to show setting.
show_countyesShow “Showing 1–20 of 74 open positions”.
show_paginationyesShow page links when there is more than one page.
show_locationyesShow each job’s location.
show_departmentyesShow each job’s department.
show_datenoShow each job’s posting date.
show_excerptnoShow a short excerpt of each job’s description.
group_byemptydepartment or office groups the list under headings.
boardemptyLeave empty. The plugin connects one Workable account.

Jobs are sorted newest first. An attribute that picks jobs, such as department or search, wins over what the visitor picks. Its filter is left out of the list’s own form, and out of a Job Filters block or [wkjb_filters] on the same page.

[wkjb_jobs show_filters="yes"]
[wkjb_jobs department="Engineering" per_page="5" show_count="no" show_pagination="no"]
[wkjb_jobs columns="2" group_by="department" show_excerpt="yes"]

[wkjb_filters]: filter by department or location

A standalone search and filter form, for a sidebar or anywhere other than directly above the list.

AttributeDefaultWhat it does
filtersemptyThe filters to show, in order, as a comma list: search, department, location, type, workplace, function, industry, experience, education. Empty uses the Filters to show setting.
show_countsyesShow the number of jobs next to each option.
hide_singleyesHide a dropdown that has only one option.
location_depth0Location levels in the dropdown: 1 countries, 2 adds regions, 3 adds cities, 0 all.
liveyesUpdate the results in place, without reloading the page.
show_search, show_department, show_officeyesno hides the search box, department or location dropdown. Older switches; filters is simpler.
boardemptyLeave empty.
[wkjb_filters filters="search,location,type"]

Dropdowns list only terms with an open job, and leave out hidden terms. Put a [wkjb_jobs] list on the same page: the form filters it in place, and updates the address so the filtered list can be shared. Typing searches half a second after the visitor stops, from the second character; Enter searches for whatever is in the box. Without JavaScript the form submits normally, with the same result.

Each filter is a query parameter. wkjb_search holds the search text; the others hold a term slug: wkjb_department, wkjb_location, wkjb_type, wkjb_workplace, wkjb_function, wkjb_industry, wkjb_experience and wkjb_education. So /jobs/?wkjb_location=texas&wkjb_type=full-time links straight to a filtered list. Links using the older wkjb_office parameter still work. Pagination uses wkjb_page.

[wkjb_job]: one job

AttributeDefaultWhat it does
idemptyThe job’s Workable shortcode: the 10-character code at the end of its address, such as id="A1B2C3D4E5". Case does not matter. Empty uses the job being viewed.
show_titlenoShow the job title as a heading.
show_metayesShow department, location, employment type, remote and posting date.
show_applyyesShow the apply area: the on-site form or the Apply on Workable button.
boardemptyLeave empty.

A job’s shortcode is at the end of its address on your site, for example /jobs/senior-designer-a1b2c3d4e5/, and in the job’s link inside Workable.

[wkjb_apply]: the apply area on its own

AttributeDefaultWhat it does
idemptyThe job’s shortcode. Empty uses the job being viewed.
boardemptyLeave empty.

It shows the on-site application form when applications are taken on your site, and the Apply on Workable button otherwise. See Workable application form.

[wkjb_job_meta]: job details

The details box on its own, for a custom job layout.

AttributeDefaultWhat it does
idemptyThe job’s shortcode. Empty uses the job being viewed.
show_department, show_location, show_type, show_dateyesShow the department, location, employment type or posting date.
show_workplaceyesShow a Remote badge on remote jobs.
show_function, show_industry, show_experience, show_educationnoShow the job function, industry, experience or education level.

Empty details are left out, and so is a job function, industry, experience or education level set to “Unspecified”.

[wkjb_job_meta show_date="no" show_experience="yes"]

Links to share the job on LinkedIn, X, Facebook and by email, plus a Copy link button. They are plain links, so no script from those networks loads on your page. The copy button appears only where the browser can copy.

AttributeDefaultWhat it does
idemptyThe job’s shortcode. Empty uses the job being viewed.

Developers can add, remove or reorder networks with the wkjb_share_links filter.

A short list of other open jobs, to keep candidates browsing. Jobs in the same department come first, then jobs in the same region, newest first. The job being viewed is never listed, and nothing shows when no job matches.

AttributeDefaultWhat it does
idemptyThe job to match. Empty uses the job being viewed.
count3How many jobs to show, 1 to 12.

Load the styles on custom layouts

The plugin’s stylesheet loads on the jobs pages and on any page whose content holds a [wkjb_ shortcode or a wkjb/ block. A shortcode printed from a theme template or a page builder may not be detected. Force the stylesheet on with:

add_filter( 'wkjb_enqueue_frontend_assets', '__return_true' );

Give every Workable job a page on your own site.

Job pages with Google for Jobs markup, search and filters, and on-site applications. $69 a year for one site.