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, the request is saved directly to the WordPress database. No email configuration is required. Staff review all incoming requests from the Access Requests menu in the WP Admin sidebar, then manually create credentials and follow up with 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"All submissions are stored in the WordPress database and viewable at WP Admin → Access Requests. No email or external service is needed.
Each row shows:
Use the tabs above the table to filter the view:
| Tab | Shows |
|---|---|
| All | Every request regardless of type or status |
| New | Only requests not yet marked as reviewed |
| Reviewed | Only requests that have been marked as reviewed |
| PCR only | Primary Care Resources requests only |
| LEP only | Lived Experience Partner requests only |
| Action | What it does |
|---|---|
| Mark Reviewed | Changes the status from New to Reviewed. Appears only on New rows. Use this after you have created the credentials and followed up with the requester. |
| Delete | Permanently removes the row from the database. A confirmation prompt appears before deletion. |
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 request doesn't appear in Access Requests | Database table not yet created | Deactivate and re-activate the plugin in WP Admin → Plugins. The table is created automatically on re-activation. |
| "Access Requests" menu not visible in WP Admin | Logged in as a user role below Editor | Only Editor-level users and above can see the Access Requests menu. Log in as an Editor or Administrator. |
| "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. |