=== Roleboard ===
Contributors: machinam
Tags: jobs, job board, careers, recruitment, job listings
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

A job board for WordPress: job listings with search and filters, an on-site application form, and applicant management.

== Description ==

Roleboard adds a careers section to your website. Post jobs, show them in a searchable list, collect applications with your own form, and manage applicants in the WordPress dashboard. Everything works out of the box; no account or outside service is needed.

**Jobs**

* Create, schedule and close job posts in the classic editor.
* Job features such as salary, experience and qualification (shown only when filled in).
* Categories, job types, locations and tags.
* Application deadline per job, and "How to apply" instructions.
* Apply on your site, or send people to an outside link (for example LinkedIn) per job.

**Careers page**

* `[roleboard_jobs]` shortcode: job list with keyword search, filters (category, type, location), list or grid layout and page numbers.
* A page for each job with its details and the application form.
* Your theme can restyle everything, or use Roleboard's own look.

**Application form**

* Form builder: text, email, phone, long text, dropdown, checkboxes, date and file upload fields.
* A default form in Settings, and an own form per job when needed.
* Several file upload fields per form. Common document types: PDF, DOC, DOCX, RTF and TXT.
* Privacy Policy and Terms tick boxes with the text in a pop-up.

**Applications**

* All applications in one screen, with filters by job and status.
* Seven statuses (New, Reviewed, Shortlisted, Interview, Offer, Hired, Rejected), internal notes and bulk status changes.
* Resumes are stored in a private folder and can only be downloaded by people allowed to see applications.
* A Hiring Manager role that can see applications but not change site settings.

**Emails**

* Email notifications to your hiring team, the site administrator and the job's author.
* Optional confirmation email to the applicant.

**Spam protection and privacy**

* Hidden trap field, minimum time to fill in the form, and a limit on repeated submissions.
* Works with the WordPress personal data export and erase tools.
* Automatic deletion of applications after a number of days you choose.

**Add-ons**

Optional add-ons (sold separately) add more: CSV export, extra file types and file types per field, CAPTCHA (Google reCAPTCHA, hCaptcha, Cloudflare Turnstile), blocking repeat applications, your own statuses, sending applications to different people by location or category, and attaching resumes to notification emails. Roleboard works fully without them.

== Installation ==

1. Upload the `roleboard` folder to `/wp-content/plugins/`, or install the zip file under Plugins > Add New > Upload Plugin.
2. Activate Roleboard.
3. Go to Roleboard > Settings and set your notification email and upload options.
4. Add `[roleboard_jobs]` to a page, and choose that page as the "Jobs page" in Roleboard > Settings > General.
5. Create your first job under Roleboard > Add New.

== Frequently Asked Questions ==

= Where are uploaded resumes stored? =

In `wp-content/uploads/roleboard-private/`, a folder that blocks direct web access (on Apache through an .htaccess file). Files are downloaded through a protected link that checks the user's permission. On nginx, add a rule that denies access to that folder.

= Does Roleboard send data to any outside service? =

No. Roleboard itself does not contact any outside service. Emails are sent through your website's normal email setup.

= Can I change how the job list and job pages look? =

Yes. Untick "Use Roleboard's design" in Roleboard > Settings > General to let your theme style everything, or copy files from the plugin's `templates/` folder into `your-theme/roleboard/` to change the markup.

= What happens to my data if I delete the plugin? =

Nothing is deleted unless you tick "On uninstall" in Roleboard > Settings > Privacy. With that ticked, jobs, applications, uploaded resumes, settings and the Hiring Manager role are removed.

== Shortcodes ==

`[roleboard_jobs]` - list of jobs with search and filters.

Attributes: `layout` (list|grid), `category`, `type`, `location`, `tag` (term slugs, comma separated),
`posts` (jobs per page), `show_pagination` (yes|no), `show_search` (yes|no), `show_filters` (yes|no).

Examples:
`[roleboard_jobs layout="grid" posts="6"]`
`[roleboard_jobs location="remote" category="engineering"]`

`[roleboard_job id="123"]` - one job anywhere. Attributes: `show_form`, `show_features`, `show_meta` (yes|no).

== Privacy ==

Roleboard stores what applicants enter in the application form (and the files they upload) on your website, together with the date and the job they applied for. It does not send this data to any outside service. Use Roleboard > Settings > Privacy to delete applications automatically after a number of days, and the WordPress tools under Tools > Export/Erase Personal Data to answer applicants' requests. Mention job applications in your site's privacy policy.

== Changelog ==

= 1.0.2 =
* Block themes (such as WordPress's default themes): job pages now use the theme's own header, footer and page layout, with the job details at the theme's wide width. Before, they used a basic fallback header.
* The job page's two columns stack whenever the content area is narrow, not only on small screens.
* Tested with WordPress 7.1.5 and PHP 8.6.

= 1.0.1 =
* Upgrade routine: saved data is brought up to date automatically after each update.
* Plugin and author links to the Machinam website; WordPress.org contributor added.
* Translations are loaded by WordPress itself (no bundled languages folder).

= 1.0.0 =
* First public release.
* Company website in a job is checked: an entry that is not a web address is not saved, and the editor is told.
* The Submit application button is at least 44 pixels high on all screens.
* The Export CSV menu item appears only when the CSV Exporter add-on is active; an Export address under the wrong menu now leads to the right page.
* Looks (skins) can come from separate plugins; the Look setting only shows when one is installed.
* Uploaded resumes are saved through WordPress's own upload handling, still into the private folder.
* Code clean-up for the WordPress.org Plugin Check (escaping, prefixed variables).

== Upgrade Notice ==

= 1.0.2 =
Job pages now fit block themes such as Twenty Twenty-Five.

= 1.0.1 =
Maintenance release: automatic data upgrades after updates.

= 1.0.0 =
First public release.
