Payment API

Available since WPJobBoard 3.5

In order to add new payment method to WPJB, you need to do few things. Create new WordPress plugin, create class that will extend WPJB_Payment_Interface and apply filter that will register new payment method.

The functionality is in beta phase, so it might slightly change in the future.

Below you can download working example that will add Payment by cash to WPJobBoard, the only thing you need to do is upload it to wp-content/plugins directory and activate “WPJobBoard Mod” plugin in wp-admin/plugins.php section.

If everything will be ok, in Add Job form “Payment Method” field should appear with options “PayPal” and “Pay by cash”.

Download Payment API Example

Posted in Developer Docs | Leave a comment

wpjb_find_jobs

Function is available since WPJobBoard 3.5

This function is can be used for advanced jobs search, it allows to search: keyword, location, country, category, job type, additional fields, sort jobs and much more. Note that only active jobs are returned.

Default usage

$result = wpjb_find_jobs(array(
    "query" => "",
    "location" => "",
    "country" => null,
    "category" => null,
    "type" => null,
    "posted" => null,
    "is_featured" => false,
    "employer_id" => null,
    "sort" => "job_created_at",
    "order" => "DESC",
    "page" => null,
    "count" => null,
    "field" => array()
));

Parameters

You can pass zero or more parameters to the function.

query – (string) search jobs by: keyword, company name, location

location – (string) search jobs by: city, state, country zip code

country – (int) search countries by country numeric code (available codes can be found in wpjobboard/application/config/country_list.ini

category – (mixed) can be both category id (int) or array of category ids

type – (mixed) can be both job type id (int) or array of job type ids

posted – (int) how many days ago job was posted (available values are: 1=Today; 2=Yesterday, 7=Less than 7 days ago, 30=Less than 30 days ago)

is_featured – (boolean) if true search will return featured jobs only

employer_id – (int) employer id from database table wpjb_employer

sort – (string) field to sort by (available are: “id”, “job_created_at”, “job_title”)

order – (string) either ASC (ascending) or DESC (descending)

page – (int) which page to display (for use with count parameter)

count – (int) number of jobs per page

field – (array) search by additional field, the parameter should contain array of key, value elements where key is additional field id and value is the value to search by, for example array(5 => "find-me")

Returned value


$result->job; // (array) of Wpjb_Model_Job objects
$result->page // (int) page number;
$result->perPage // (int) number of element per page;
$result->count // (int) number of jobs on this page;
$result->total // (int) total number of jobs found;
$result->url->feed // (string) url to custom rss for this search
$result->url->search // (string) url to search result

Examples

Searching jobs by keyword and displaying job link and title:

$result = wpjb_find_jobs(array("query"=>"php"));
foreach($result->job as $job) {
    echo "<p>";
    echo $job->job_title."<br/>";
    echo wpjb_link_to("job", $job);
    echo "</p>";
}

Posted in Uncategorized | 2 Comments

How To Grant Employers Access To Resumes

To get access to resumes, first, user has to register as employer and then go to Resumes Access page and then click “Request Full Access”.

Administrator has to follow following steps:

  1. Go to http://yoursite.com/wp-admin/admin.php?page=wpjb/employers&action=index/show/pending/
  2. Check the list of employers to be approved.
  3. Under “Bulk Actions”, select “Activate”.
  4. Click “Apply”.

When you edit employer, “Company Profile Status” should read “Full Access Granted” for approved admins.

Posted in Uncategorized | Leave a comment

How To Register As An Employer

To register as an employer, you have to go to following address:

http://yourwebsite.com/jobs/employer/new/

You’ll be presented with following form. Fill it and click “Register” to complete.

To register as an job candidate, go to:

http://yourwebsite.com/resumes/my-resume/

Job candidates can also register using the normal WordPress Registration Form.

Note: Please enable “Anyone can register” option in WordPress Administrator Panel under Settings -> General to allow registrations.

You can add links to registration page in sidebar by adding “Job Board Menu” and “Resumes Menu” widgets.

Posted in Uncategorized | Leave a comment

Reordering WP JobBoard Form Items

WP JobBoard plugin provides an easy to use Visual Editor for reordering Custom Fields. Follow following instructions to reorder the form fields:

  1. Go to Settings -> Visual Editor.
  2. Click the corresponding button for the form you want to edit.
  3. You will be presented with Visual Editor which allows you to drag and drop fields.
  4. To hide or make a field required, hover over corresponding form field. “Configure” link will appear on the top right of field. Click it.
  5. You can change Label, Hint and other options here. Once done, click OK.
  6. If needed, you can also reset form layout by going to bottom of page and clicking “Reset Form Layout”

Your fields have been reordered.

Posted in Uncategorized | Leave a comment

Adding Custom Fields To Job Board And Resumes

Here’s how to Add Custom Fields to Job Boards and Resumes:

  1. Go to Settings-> Additional Fields.
  2. Click “Add Additional Fields”.
  3. On next page, select the appropriate options for the new field. The new field(s) can be added for “Add Job Form”, “Apply To A Job Form” and “My Resume” pages.
  4. Click Save.

Your custom fields have been added.

To reorder fields, follow these instructions.

 

Posted in Uncategorized | Leave a comment

How To Restore Deleted Jobs/Resumes Page

The plugin comes with two default pages “Jobs” and “Resumes”. Job Board and Resumes are embedded into these pages.

Learn more about these pages here.

If you delete one of these pages, you can restore them by deactivating and reactivating the plugin.

Here are the steps:

  1. Go to WordPress Dashboard.
  2. Click Plugins -> Installed Plugin.
  3. Deactivate WP Job Board plugin.
  4. Activate it again.

The missing pages will be restored now.

Posted in User Guide | Leave a comment

Turning Off Moderation For New Jobs

Note: Only free jobs require moderation. Paid jobs are activated instantly.

Follow following steps to turn off moderation for new jobs:

  1. Go to Settings -> Configuration.
  2. Click “Edit Job Posting Options”
  3. Uncheck “Yes” in front of Moderate Jobs.
  4. Click Save Changes.

Note: You need a PayPal Premier or Business account to approve jobs instantly.

Posted in User Guide | Leave a comment

Approving New Jobs

Approving New Jobs

Follow following steps to approve new jobs:

  1. From WordPress Dashboard, go to “Job Board”.
  2. Select ”Awaiting Approval from the menu.
  3. Check the jobs you want to approve.
  4. Select “Activate” from bulk actions and click “Apply”

Please Note:

  • Only free jobs require approval. Paid jobs are activated instantly.
  • You need a PayPal Premier or Business account to have premium jobs approval.

Active And Inactive Jobs

Active Job: A job is active when it is approved and its expiration date is greater than current date.

Inactive Job: A job is inactive when it is either not approved, marked as deactivated by administrator or its expiration date has passed.

Posted in User Guide | Leave a comment

Approving Resumes From Administrative Panel

Setting Up Resume Approval

To enable approval for resumes, you have to follow following steps.

First, go to Settings -> Configuration.

Once that is done, click “Edit ‘Resume’ Options”. Here’s a screenshot:

Approving Resumes

Here are the steps to approve resumes:

  1. Click “Manage Resumes”.
  2. Click “Pending Approval”.
  3. Mark the resumes you want to accept.
  4. Select “Approve” and click “Apply”

Note: When a resume is updated, it is put in to approval process again.

Posted in User Guide | Leave a comment