[wpjb_jobs_search]

wpjb-jobs-search

Generates the Advanced Jobs Search form. Note that by default this shortcode displays search form only, but when you do a search it will display results as well.

Available Parameters:

  • redirect_to (since 4.4.2, default none) – the value should be either URL or ID of page where you will display search results. Note that this page should have either [wpjb_jobs_search] or [wpjb_jobs_list] shortcode, otherwise no results will be shown.
  • form_only (since 4.4.2, default 0) – value can be either 0 or 1, if 1 then the shortcode will display form only, usually you will want to use this with redirect_to param or when using [wpjb_jobs_search] as a widget.

 

Usage examples:

Default usage

[wpjb_jobs_search]

When user clicks “Search” button redirect to Page with ID = 1000.

[wpjb_jobs_search redirect_to="1000"]

Leave a Reply

Your email address will not be published.