> For the complete documentation index, see [llms.txt](https://docs.yaycommerce.com/bookster/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.yaycommerce.com/bookster/booking-pages/agent-pages.md).

# Agent Pages

Each agent gets a public page on your site with their profile, their services and a booking button. Share the link so customers can book that agent directly.

## Before you start

Agent pages are on by default. Bookster creates a page for every agent, and a new one each time you add an agent.

A page is public only while the agent is active and **Public**. For a deactivated or private agent, the page is kept as a draft and visitors can't open it.

## Set the page address

1. Go to **Bookster › Settings › General**.
2. Under **Pages**, check that **Agent pages** is on.
3. Change the slug if you like. The default is `bookster-agent`; the preview next to it shows the address, for example `yoursite.com/bookster-agent/…`.
4. Click **Save Changes**.

Each page's address is the slug followed by the agent's name, for example `yoursite.com/bookster-agent/emma-stone/`.

<figure><img src="https://3654694329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOokiT38oKvyMtYds88Kp%2Fuploads%2Fgit-blob-936f1205ac22d5bc45bf2d3edbb3ccc8e4cc8e91%2Fsettings-general-pages.webp?alt=media" alt="Pages section of the General settings with the Agent pages switch and slug"><figcaption><p>Turn agent pages on and set their slug.</p></figcaption></figure>

Turning **Agent pages** off removes the pages, their sitemap entries and the "View details" links to them.

## Find an agent's link

* **Admins**: go to **Agents** and open the agent. Click the **Booking Page** badge next to the drawer title. It opens the page in a new tab.
* **Agents**: open **Profile** in the agent dashboard and click **Booking Page** next to the title.

The badge shows only for an active agent.

<figure><img src="https://3654694329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOokiT38oKvyMtYds88Kp%2Fuploads%2Fgit-blob-1bf8151e7ab747ff21a49acf580daf07db6643ab%2Fagent-booking-page-badge.webp?alt=media" alt="Edit Agent drawer header with the Booking Page badge"><figcaption><p>The Booking Page badge opens the agent's page.</p></figcaption></figure>

## Fill in what the page shows

The page reads the agent's profile. Open the agent and fill in the **Display** tab: **Job Title**, **Badges**, **Tags**, **Highlights**, **Bio**, **Gallery** and **Social Links**. The photo and name come from the **General** tab. Empty fields stay hidden on the page.

The services listed are the ones the agent offers.

## Change the page layout

How the page is built depends on your theme.

* **Block theme** (for example Twenty Twenty-Five): Bookster adds the template **Single Agent Booking Page**. Edit it in **Appearance › Editor › Templates**. Changes apply to every agent's page.
* **Classic theme**: Bookster uses its own simple layout: your theme's header and footer, the agent's name, and the booking form for that agent. A theme can replace it with its own `single-bookster_agent.php` file.

## What customers see

On a block theme, the page shows the agent's photo, name, job title, badges, tags, bio and highlights, a booking button and the agent's services. The button reads "Book with" and the agent's name, for example "Book with Emma" (on WordPress 6.9 and later; **Book Now** before that).

* The booking button opens the booking form with the agent already picked.
* Clicking a service opens the booking form on that service, with the agent picked, past the agent step.

<figure><img src="https://3654694329-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FOokiT38oKvyMtYds88Kp%2Fuploads%2Fgit-blob-cfe8cc3a6e9dbf2962b2cdede7fb68f95c73c8ae%2Fagent-page-front.webp?alt=media" alt="Agent booking page with profile, badges, Book with button and services"><figcaption><p>An agent's booking page on a block theme.</p></figcaption></figure>

On a classic theme, customers see the agent's name and the booking form, limited to that agent.

## If something goes wrong

| Symptom                                    | What to do                                                                                                                                                                                                                       |
| ------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| The page shows "Page not found"            | Check that the agent is active and **Public**, and that **Agent pages** is on. Then go to **Settings › Permalinks** in WordPress and click **Save Changes**.                                                                     |
| There is no **Booking Page** badge         | The agent is deactivated, or agent pages are off.                                                                                                                                                                                |
| The address still uses the old slug        | Save the General settings again, then re-save **Settings › Permalinks**.                                                                                                                                                         |
| A field is missing on the page             | Fill it in on the agent's **Display** tab. On a block theme, check that your edited template still has the block for it.                                                                                                         |
| The page looks unstyled on a classic theme | Your theme's layout is used around the booking form. Add a `single-bookster_agent.php` to the theme, or ask us via [Troubleshooting](https://docs.yaycommerce.com/bookster/other-links/troubleshooting.md#what-to-send-support). |
