Shortcode Reference
This page lists every shortcode in Dantian Attestation Core: five in the free plugin and four in Pro. For each one it gives the attributes, the access rules and what each kind of visitor sees.
Add a shortcode to a page with the Shortcode block in the block editor, or type it into the Classic Editor. Use one shortcode per page. The easiest way to create the free pages is Attestation Core › Settings › Portal pages › Auto-create missing portal pages. See Frontend staff portal for setup, access and the login redirect.
Quick reference
| Shortcode | Plugin | Attributes | Portal page key (Settings › Portal pages) |
|---|---|---|---|
[attestation_core_dashboard] |
Free | None | Compliance Portal (Dashboard) |
[attestation_core_my_profile] |
Free | None | My Profile |
[attestation_core_my_documents] |
Free | None | My Documents |
[attestation_core_submit_evidence] |
Free | None | Submit Evidence |
[attestation_core_my_evidence] |
Free | None | Evidence History |
[attestation_core_submit_plan] |
Pro | None | Annual Plan |
[attestation_core_my_record] |
Pro | None | My Compliance Record |
[attestation_core_my_calendar] |
Pro | None | My Compliance Calendar |
[attestation_core_my_upskilling_plan] |
Pro | year |
Upskilling Plan |
Only one shortcode takes an attribute: year on [attestation_core_my_upskilling_plan]. Every other shortcode ignores any attributes you add. Where a page lets visitors switch view (a year, a page number or a calendar date), it uses the page address (query string), not an attribute. Those parameters are listed under each shortcode.
Common access rules
Unless a shortcode’s own section says otherwise:
- Not signed in: a Sign in required panel (“You need to sign in to view your compliance portal.”) with a Sign in button.
- Signed in, but not linked to an Active compliance profile: a No compliance profile on file panel asking the visitor to contact their compliance administrator.
- Linked to an Active profile: the visitor’s own data only. No shortcode can show another person’s records, and no attribute can change whose data is displayed.
Portal access comes from the link between a WordPress user and a compliance profile, not from a WordPress role. See User roles and permissions.
Free shortcodes
[attestation_core_dashboard]
The staff member’s home page in the portal.
Attributes: none. This shortcode takes no attributes.
Shows:
- a greeting using the staff member’s first name
- summary tiles:
- Documents: number current, plus how many are expiring and expired
- Evidence (Upskilling evidence for administrative staff): number validated out of the total, plus how many are pending and returned
- Submit Evidence and My Profile shortcut tiles, shown only when those pages are assigned
- Units currency: shown only when the staff member has units assigned (a Pro RTO module feature)
- the Sign & Attest credentials current declaration. See Currency attestation and annual plans.
Access: the common rules apply. Any visitor linked to an Active profile can sign the declaration.
Example:
[attestation_core_dashboard]
Placement tip: assign this page as Compliance Portal (Dashboard). Portal users are redirected to it after they log in.
[attestation_core_my_profile]
A read-only snapshot of the staff member’s record.
Attributes: none. This shortcode takes no attributes.
Shows: Workforce categories; Credentials (with Verified or Awaiting verification badges); Assigned units with code, title, scope and currency (when units are assigned); and Documents on file with type, status and expiry. Staff can’t edit anything here. Changes are made through the other portal pages or by an administrator.
Access: the common rules apply.
Example:
[attestation_core_my_profile]
[attestation_core_my_documents]
Shows the status of each document type required for the staff member’s profile, with an upload form for each.
Attributes: none. This shortcode takes no attributes.
Shows: one panel per required document type, listing File, Issued, Expires, Status and Verification (Verified or Awaiting). Types with nothing uploaded are marked Missing. Each panel has an Upload or Upload new form:
- File: required. PDF, JPG, PNG, DOC or DOCX, up to 25 MB.
- Expiry date: required for document types that expire.
- Issued date (optional)
Files are stored privately and can only be downloaded through the portal or the admin area. A direct link to a file won’t open it.
Access: the common rules apply. The upload form and download links appear only for profile-linked users, who get the upload and download permissions automatically. If no document types apply to the profile, the page says “No document types are currently required for your compliance profile.”
Example:
[attestation_core_my_documents]
See Document management.
[attestation_core_submit_evidence]
The form for submitting evidence of professional activity.
Attributes: none. This shortcode takes no attributes.
Form fields:
| Field | Required | Notes |
|---|---|---|
| Type | Yes | Your evidence categories (Settings › Evidence categories). Categories that require unit mapping only appear when the staff member has units assigned. |
| Title | Yes | Up to 255 characters |
| Date of activity | Yes | Date picker |
| Description | No | Free text |
| Unit checkboxes | Depends on the category | Shown for categories that need unit mapping. Staff tick each unit the evidence contributes to. |
| Supporting document | No | PDF, JPG, PNG, DOC or DOCX, up to 25 MB |
Access: the common rules apply. A signed-in user without permission to submit evidence sees Not permitted: “Your account does not have permission to submit evidence. Contact your compliance administrator.”
Example:
[attestation_core_submit_evidence]
See Compliance evidence submission.
[attestation_core_my_evidence]
The staff member’s evidence history.
Attributes: none. This shortcode takes no attributes.
Shows: the number of submissions on record, then each submission with its title, a status badge (Pending review, Validated, Partially validated or Returned), type, date, description, Units validated: (where units were confirmed), the administrator’s comment (once the item is validated, partially validated or returned) and a Download file button when a file is attached. Twenty items are shown per page.
Page-address parameter: attestation_core_evp=<page number> (set by the pagination links).
Access: the common rules apply. With no submissions yet, the page says “You have no evidence submissions yet. Use the Submit evidence page to record your first.”
Example:
[attestation_core_my_evidence]
🔒 Pro feature — requires the Pro plugin.
Pro shortcodes
These four shortcodes need Pro installed with an active licence. If the licence is inactive, see Licence-locked behaviour below. On a site running only the free plugin, WordPress doesn’t recognise these tags and shows them as plain text.
[attestation_core_submit_plan]
The annual plan form, where staff build, save and submit their yearly plan.
Attributes: none. This shortcode takes no attributes.
Shows: the year and a status badge (Draft, Submitted, Approved or Returned). While the plan is editable, it shows two activity sections with Activity description, Planned date and, in the second section, a Unit dropdown. It also has the declaration checkbox and the Save draft and Submit plan buttons. After submission it shows a read-only Declaration audit with the submission time and declaration hash.
Page-address parameter: attestation_core_plan_year=<year>, accepted from 10 years ago to 5 years ahead. The default is the current year.
Access: the common rules apply. A signed-in user without plan permission sees Not permitted: “Your account does not have permission to submit a plan.”
Example:
[attestation_core_submit_plan]
Full workflow: Currency attestation and annual plans.
[attestation_core_my_record]
Lets a staff member download their own compliance record as a PDF.
Attributes: none. This shortcode takes no attributes.
Shows: a My Compliance Record heading, a short description and a Download My Compliance Record button. The PDF covers credentials, unit assignments, evidence history and annual plan history, and carries your organisation’s branding. Each person can generate up to 10 exports per hour. After that they see “You have exceeded the maximum number of record exports per hour. Please try again later.”
Access: this shortcode uses its own messages rather than the common panels:
- Not signed in: “Please log in to view your compliance record.” (no sign-in button)
- Signed in without a linked profile: “Your account does not have a trainer record. Please contact your RTO administrator.”
Example:
[attestation_core_my_record]
See Compliance reporting and audit exports.
[attestation_core_my_calendar]
A personal calendar of compliance dates.
Attributes: none. This shortcode takes no attributes.
Shows: a My Compliance Calendar grid with an event list. It includes document expiry dates (“First Aid expiry”, for example) and annual plan due dates (“Annual plan due (2027)”). Plan due dates only appear once a plan exists for that year. Controls: View (Month or Week), Anchor date, Document type (All document types by default), Apply, Reset, Previous and Next.
Page-address parameters (set by the controls):
| Parameter | Values | Default |
|---|---|---|
attestation_core_cal_view |
month or week |
month |
attestation_core_cal_date |
A date (YYYY-MM-DD) | Today |
attestation_core_cal_document_type_id |
A document type ID, or 0 for all |
0 |
There is no calendar subscription or iCal feed. The calendar is viewed on the page only.
Access: the common rules apply.
Example:
[attestation_core_my_calendar]
See Compliance calendar.
[attestation_core_my_upskilling_plan]
A read-only view of an administrative staff member’s upskilling plan. Administrators create and manage these plans in the admin area; staff can’t edit them here.
Attributes:
| Attribute | Type | Default | Description |
|---|---|---|---|
year |
Whole number (a four-digit year) | The current year | The plan year to display. A value that isn’t a number shows the “no plan” message. |
Shows: the plan’s Status and Due date, then a table of activities with Activity, Type, Hours and Status (Planned or Completed), and any Notes.
Access: this shortcode uses its own messages:
- Not signed in: “Please log in to view your upskilling plan.”
- No compliance profile linked: “No staff profile found for your account.”
- No plan for that year, and the profile isn’t administrative staff: “Upskilling plans apply to administrative staff. Your profile is not set up as administrative staff, so there is nothing to show here.”
- No plan for that year, and the profile is administrative staff: “No upskilling plan has been set up for you for 2026 yet. Your administrator creates upskilling plans — contact them if you expect one.”
Examples:
[attestation_core_my_upskilling_plan]
[attestation_core_my_upskilling_plan year="2027"]
See Administrative staff and upskilling plans.
Licence-locked behaviour
When Pro is installed but its licence isn’t active:
[attestation_core_my_record],[attestation_core_my_calendar]and[attestation_core_my_upskilling_plan]show nothing to staff and visitors. Site administrators see an Attestation Core Pro — licence inactive notice with a Manage licence button.[attestation_core_submit_plan]still loads, but profile-linked staff see Not permitted and visitors who aren’t signed in see Sign in required.
Reactivate the licence under Attestation Core › Settings › Licence. See Licensing and updates.
Troubleshooting
| Problem | Fix |
|---|---|
| The shortcode appears as plain text | The plugin that provides it isn’t active. Pro shortcodes need Pro. Also check the spelling and the square brackets. |
| Forms load but nothing happens on submit | The free shortcodes’ scripts only load when the shortcode is in the main content of a single page or post. Don’t place them in widgets or theme templates. |
| Every visitor sees “No compliance profile on file” | Their WordPress account isn’t linked to an Active compliance profile. Link it on the profile screen. |
Adding attributes such as limit="5" has no effect |
Only year on [attestation_core_my_upskilling_plan] is supported. All other attributes are ignored. |
Was this helpful?
Thank you for your feedback!