Displays list of Employers sorted from A to Z.
allowed values: active (approved and public Employers with at least one job posted), public (approved and public Employers), pending (not yet approved Employers).
default value is “active”
filter Employers list by keyword (company name, info or location)
filter Employers list by location
Allows to search employers by cusom fields, for example if you have created custom field named “skills”, you can list jobs with “skills” equal to “PHP” by passing “meta__skills” parameter to the shortcode (see third example below).
How employers should be sorted, the default value is by company name from A to Z.
Show pagination on site, default value is 1 (to disable pagination set it to 0), note that the pagination if enabled will show only if there is more than one page of results.
The page number to show, default value is 1, while possible, it is not recommended to change the default value, as this will break pagination.
Number of employers per page, the default value is 20, if you change it to 0 then all jobs will be listed on single page.
String either: disabled, enabled. Default value disabled (since 4.1.2)
(int) ID of a Page to which this shortcode will link to when for example doing a search, by default the value is current page ID (since 4.3.4)
Find employers matching keyword “php developer” and location “New York”.
[wpjb_employers_list query="php developer" location="New York"]
Displaying only 5 Employers without pagination.
[wpjb_employers_list page="1" count="5" pagination="0"]
Searching for jobs that have Custom Field “skills” with value equal to “PHP”
why some shortdodes shuch as this shortcode dos not work in my site and displayes as thml code but other shortcodes such as [wpjb_job_list] work correctly.
Hi, note that some of this shortcodes became available just recently, make sure that you are using WPJB version 4.3 (or newer), otherwise using some of the shortcodes will have no effect.