1. Home
  2. Docs
  3. Loxo
  4. Getting Started
  5. Shortcodes

Shortcodes

Shortcodes provides you benefits to easily embed job listings anywhere in your site, without coding. It enhances flexibility, saves time, ensures consistent formatting, and allows effortless customization.

Shortcode – Job Search Form

Use [loxo-jobs-filter] shortcode to display job search form. Visitor can filter jobs by category, location, types and keywords. If you job archive/listing page is at /jobs, and you want to show the filters on homepage, use form_action parameter to link the form with the jobs. [loxo-jobs-filter form_action="/jobs"]

Job Search Form

Shortcode – Job Directory

Use [loxo-jobs] shortcode to display job directory. To display a limited number of jobs (specially on homepage), use [loxo-jobs per_page=5 pagination="" show_count=""] shortcode.

Job Directory

Available Parameters

The following parameters work with both [loxo-jobs-filter] and [loxo-jobs]:

Filtering

  • job_keyword — Pre-fill keyword search
  • job_category — Filter by job category slug
  • job_type — Filter by job type slug
  • job_country — Filter by country slug
  • job_state — Filter by state slug
  • job_city — Filter by city slug
  • job_location_type — Filter by location type slug (e.g., remote, onsite)

Display

  • per_page — Number of jobs per page (default: from plugin settings)
  • pagination — Pagination style: default or more (Load More button)
  • show_count — Show total job count: 1 to show, 0 to hide
  • hide_excerpt — Hide job excerpts: true or false
  • hide_salary — Hide salary: true or false
  • job_filters — Comma-separated list of filters to show. Options: keyword, category, country, state, city, type, location_type

Filter Form Only

  • form_action — URL where the filter form submits to. Use when the filter and job list are on different pages.

Examples

Show 5 remote jobs with keyword and type filters:

[loxo-jobs-filter job_location_type="remote" job_filters="keyword,type"]
[loxo-jobs job_location_type="remote" per_page="5" hide_excerpt="true"]

Show all full-time jobs with Load More pagination:

[loxo-jobs job_type="full-time" pagination="more" per_page="10"]

Single Job Shortcodes

These shortcodes display individual job components. The id parameter is the Loxo job ID. When used on a single job page, id can be omitted — the plugin uses the current job automatically.

  • [loxo-job-title id=123] — Display job title
  • [loxo-job-description id=123] — Display job description
  • [loxo-job-meta id=123] — Display job metadata (salary, type, location)
  • [loxo-job-sharing id=123] — Display social sharing links
  • [loxo-job-application-form id=123] — Display application form