Shortcode

The [jobs] shortcode provides a simple way to add a job search interface to your website’s content. By including this shortcode with specific attributes, you can customize the appearance and functionality of the job search section according to your preferences.

Example:

To add a job search interface to your page, use the following shortcode:

[jobs]

You can also customize the interface by including attributes within the shortcode. Here’s an example that demonstrates how to use attributes to modify the appearance of the job search section:

[jobs results_per_page=10 view_company=yes view_salary=no view_job_type=yes view_filter_location=yes]

In this example, the following attributes are used:

  • results_per_page: Sets the number of job results displayed per page.
  • view_company: Displays company information if set to “yes.”
  • view_salary: Hides salary details if set to “no.”
  • view_job_type: Shows job types if set to “yes.”
  • view_filter_location: Enables location-based filtering if set to “yes.”
  • view_category: Enables Job Category-based filtering if set to “yes.”
  • view_role: Enables Job Role-based filtering if set to “yes.”
  • job_tag: Specifies the job tag for filtering jobs. Note that hyphens can be used, and they will be replaced with spaces for better readability.
    • example
      [jobs job_tag=Information-Technology-(IT)]
    • In this example, the job_tag attribute is set to “Information-Technology-(IT)”, including hyphens. This value will be passed to your code, and if you’ve implemented the hyphen replacement logic, it should be handled accordingly.