Other Features
WordPress Shortcodes
Complete shortcode reference for the WordPress plugin
Complete reference for all available shortcodes in the MemberPulse WordPress plugin.
Event Shortcodes
Event List
[mp_events limit="5" category="webinars" layout="grid"]
| Attribute | Default | Options |
|---|---|---|
| limit | 10 | Any number |
| category | all | Category slug |
| layout | list | list, grid, calendar |
| featured | false | true, false |
Acceptance Criteria
Frontend
- Event List workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Event List as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Single Event
[mp_event id="123"]
Acceptance Criteria
Frontend
- Single Event workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Single Event as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Event Calendar
[mp_calendar month="current" category="all"]
Acceptance Criteria
Frontend
- Event Calendar workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Event Calendar as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Course Shortcodes
Course Catalog
[mp_courses limit="10" category="all" layout="grid"]
Acceptance Criteria
Frontend
- Course Catalog workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Course Catalog as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Single Course
[mp_course id="456"]
Acceptance Criteria
Frontend
- Single Course workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Single Course as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Directory Shortcodes
Business Directory
[mp_directory limit="20" category="all" layout="grid"]
Acceptance Criteria
Frontend
- Business Directory workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Business Directory as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Company Profile
[mp_company id="789"]
Acceptance Criteria
Frontend
- Company Profile workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Company Profile as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Job Board Shortcodes
Job Listings
[mp_jobs limit="10" type="full-time" location="sydney"]
Acceptance Criteria
Frontend
- Job Listings workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Job Listings as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Single Job
[mp_job id="321"]
Acceptance Criteria
Frontend
- Single Job workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Single Job as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Resource Shortcodes
Resource Library
[mp_resources limit="10" category="guides" type="pdf"]
Acceptance Criteria
Frontend
- Resource Library workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Resource Library as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Member Shortcodes
Login Form
[mp_login redirect="/member/dashboard"]
Acceptance Criteria
Frontend
- Login Form workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Login Form as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Registration Form
[mp_register plan="professional"]
Acceptance Criteria
Frontend
- Registration Form workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Registration Form as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Member Content
[mp_member_only]
This content is only visible to logged-in members.
[/mp_member_only]
Acceptance Criteria
Frontend
- Member Content workflow is implemented in the UI as described.
Backend / API
- Backend behavior supports Member Content as documented.
Permissions
- Access is restricted per the Capabilities matrix on this page (or equivalent role rules).
Business Rules
- All business rules for this feature are enforced.
Error Handling
- Error states return clear messages and appropriate HTTP status codes.
Global Attributes
These attributes work on all shortcodes:
| Attribute | Description |
|---|---|
| class | Custom CSS class |
| id | Custom element ID |
| cache | Cache duration (seconds) |
Features
WordPress Shortcodes
Acceptance Criteria
Frontend
- UI supports the workflows described on this page.
Backend / API
- Backend behavior supports these workflows (data fetch, mutations, exports).
Permissions
- Access is restricted per the Capabilities matrix (or role rules) for this area.
Business Rules
- All business rules described on this page are enforced.
Error Handling
- User-visible errors are clear and recoverable where possible.