Communications team guide for the partner access request modal form
The Credentials Request plugin adds a green button to any page. When clicked, it opens a branded modal popup with a short contact form. Visitors use this form to request login credentials for password-protected areas of the OWFR website.
There are two versions of the form:
When a visitor submits the form, an email is sent to info@owfr.ca with all the contact details. Staff then manually create the WordPress credentials and send them to the requester.
Add the shortcode to any Divi Code Module, page, or text widget.
| Shortcode | Use Case |
|---|---|
[owfr_request_credentials] |
Default PCR button - "Request Primary Care Resources Access" |
[owfr_request_credentials type="lep"] |
LEP button - "Request Lived Experience Partner Access" |
[owfr_request_credentials label="Request Access"] |
Custom button label text |
[owfr_request_credentials type="lep" label="Apply for LEP Access"] |
LEP form with custom label |
| Attribute | Values | Default | Description |
|---|---|---|---|
type | pcr or lep | pcr | Which form variant to show. Changes the title, subtitle, role label, and email subject. |
label | Any text | See below | Text shown on the trigger button. |
title | Any text | See below | Heading inside the modal. |
subtitle | Any text | See below | Paragraph text below the modal heading. |
role_label | Any text | See below | Label for the role/title field. |
role_placeholder | Any text | See below | Placeholder text inside the role field. |
type="pcr"type="lep"Every submission sends a plain-text email to info@owfr.ca. The Reply-To header is automatically set to the requester's email so you can reply directly from your inbox.
The shortcode can go anywhere on the website. Recommended placements:
[owfr_request_credentials]| Problem | Likely Cause | Fix |
|---|---|---|
| Button appears but modal doesn't open | JavaScript conflict with another plugin or Divi module | Check the browser console for JS errors. Ensure the shortcode is in a Code Module, not a Text Module. |
| Modal opens but appears behind other content | Divi stacking context issue (unlikely - the modal is appended to <body>) |
Contact the development team. The plugin already uses a body-append fix for Divi z-index conflicts. |
| Form submits but no email received | WordPress mail not configured on the server | Ensure an SMTP plugin (e.g. WP Mail SMTP) is active and configured. Test via the SMTP plugin's test email feature. |
| "Security check failed" error on submit | Page was open for a very long time before submitting (nonce expired) | Ask the user to refresh the page and try again. |
| Divi editor fails to save after activating | Corrupt plugin file (UTF-8 BOM) | Re-upload the plugin file. Ensure the PHP file is saved as UTF-8 without BOM. |