> ## Documentation Index
> Fetch the complete documentation index at: https://memberpulseptyltd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# WordPress Shortcodes

> Embed MemberPulse content with simple shortcodes

## Overview

Use shortcodes to easily embed MemberPulse content in your WordPress pages and posts.

## Available Shortcodes

### Events

```
[memberpulse_events]
[memberpulse_events limit="5"]
[memberpulse_events category="conference"]
[memberpulse_event id="123"]
```

| Attribute | Description              | Default |
| --------- | ------------------------ | ------- |
| limit     | Number of events to show | 10      |
| category  | Filter by category       | all     |
| layout    | grid, list, calendar     | grid    |

#### Acceptance Criteria

##### Frontend

* [ ] Events workflow is implemented in the UI as described.

##### Backend / API

* [ ] Backend behavior supports Events 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.

### Courses

```
[memberpulse_courses]
[memberpulse_courses limit="6"]
[memberpulse_course id="456"]
```

| Attribute | Description               | Default |
| --------- | ------------------------- | ------- |
| limit     | Number of courses to show | 10      |
| category  | Filter by category        | all     |
| layout    | grid, list                | grid    |

#### Acceptance Criteria

##### Frontend

* [ ] Courses workflow is implemented in the UI as described.

##### Backend / API

* [ ] Backend behavior supports Courses 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

```
[memberpulse_directory]
[memberpulse_directory category="sponsors"]
[memberpulse_company id="789"]
```

| Attribute | Description                | Default |
| --------- | -------------------------- | ------- |
| limit     | Number of listings to show | 20      |
| category  | Filter by category         | all     |
| layout    | grid, list                 | grid    |

#### Acceptance Criteria

##### Frontend

* [ ] Directory workflow is implemented in the UI as described.

##### Backend / API

* [ ] Backend behavior supports 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.

### Job Board

```
[memberpulse_jobs]
[memberpulse_jobs limit="10"]
[memberpulse_job id="101"]
```

| Attribute | Description                    | Default |
| --------- | ------------------------------ | ------- |
| limit     | Number of jobs to show         | 10      |
| type      | full-time, part-time, contract | all     |
| layout    | grid, list                     | list    |

#### Acceptance Criteria

##### Frontend

* [ ] Job Board workflow is implemented in the UI as described.

##### Backend / API

* [ ] Backend behavior supports Job Board 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.

### Resources

```
[memberpulse_resources]
[memberpulse_resources category="guides"]
[memberpulse_resource id="202"]
```

#### Acceptance Criteria

##### Frontend

* [ ] Resources workflow is implemented in the UI as described.

##### Backend / API

* [ ] Backend behavior supports Resources 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 Login

```
[memberpulse_login]
[memberpulse_login redirect="/member-area"]
```

#### Acceptance Criteria

##### Frontend

* [ ] Member Login workflow is implemented in the UI as described.

##### Backend / API

* [ ] Backend behavior supports Member Login 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 Profile

```
[memberpulse_profile]
[memberpulse_profile show="name,email,membership"]
```

#### Acceptance Criteria

##### Frontend

* [ ] Member Profile workflow is implemented in the UI as described.

##### Backend / API

* [ ] Backend behavior supports Member 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.

## Styling

Add custom CSS classes:

```
[memberpulse_events class="my-custom-class"]
```

## Related Pages

* [Plugin Overview](/integrations/wordpress/plugin-overview)
* [SEO Features](/integrations/wordpress/seo-features)

## Features

### WordPress Shortcodes

#### Acceptance Criteria

##### Frontend

* [ ] UI provides configuration controls and status/health indicators for this integration.

##### Backend / API

* [ ] Integration can be connected, configured, and exercised end-to-end (auth + sync/webhooks).

##### Permissions

* [ ] Only `ROLE_CLIENT_ADMIN` (or equivalent) can configure the integration.

##### Business Rules

* [ ] Data sync respects tenant isolation and mapping rules.

##### Error Handling

* [ ] Auth and sync failures are surfaced with actionable messages and retry behavior.
