Events
Members plan events and say they are coming: a picnic in the park, a book club online, a release day someone else holds. An event has a time, a place or a way to join online, and as many places as its host gives it. Members answer Going, Maybe or Cannot go, wait for a place when it is full, ask to come or answer an invitation, and get a reminder before it starts.
Events is a component: switch it on under Settings → Components, where Events has its settings (see the settings below).
The Events page

Events in the navigation opens the page of events. Its tabs:
- Upcoming: the events to come, by month, the soonest first.
- Calendar: a month of events, with the month before and after. On a phone, a list of its days.
- Going: the events a member answered, asked to come to or is invited to, until they end.
- Hosting: the events a member hosts or co-hosts.
- Past: the events that ended, the latest first.
Going and Hosting are for members. Times are in the time zone of the reader, named once above the list. A member who may create events has New event beside the tabs, and Subscribe puts their events in a calendar app (see Calendars).
A member answers from the list with one button: Going, which reads Going ✓ once given. A visitor gets no button, and the whole row opens the event.

Three layouts
Settings → Appearance → Events → Event list layout sets how the lists of upcoming and past events look, on the Events page and on the Events tab of each space:

- Agenda (the default): a row for each event, with its picture, its day, its hours, its place and how many go.
- Cards: two or three cards across, the date on the picture.
- Next up: the soonest event large, with a few lines about it, and the others as short rows.


An event without a picture shows the picture of its space, or the logo of the site.
Making an event
New event opens the form:
- A cover, the picture of the event in lists and on its page.
- Name of the event.
- When: the day and the hours it starts and ends, or All day, and its Time zone. An event lasts a month at most.

- Where:
- In person: the Place and its Address, and a pin on the map where the site shows places.
- Online: How people join, a link or, where the site has them, the group call of its space in Better Messages or a live stream of the Live component. Only members going see the link, on the event page and in their calendar.
- Elsewhere: a date someone else holds, such as a release or a conference, with who holds it and its own page. Members mark it Interested and add it to their calendar, and nobody goes through this site.

- Places: 0 for no limit. When it is full, members can join a waiting list.
- What is it about?, the text of the event, with its pictures, links and mentions as in a post.
- Held by: the whole community, or one of the spaces of the host, where its members find it on the Events tab.
- Who can see it: Everyone, or Members who are logged in.
Below them, sections that open:

- Who can come: Anyone who sees it, Hosts approve (members ask to come and answer the questions of the host) or By invitation, and how many guests each member may bring. Guests take places too.
- Who sees who is coming: everyone who sees the event, the members going, or only its hosts. How many are going always shows.
- Roles: what the event needs people for, such as 3 drivers and 2 cooks. Members going take one on the event page.
- Co-hosts, who run the event with the host.
- Repeats (see Repeating events).
- Tickets (see Tickets).
What the host was writing is kept in the browser, to bring back after a reload. After Create event, the host edits it with Edit on its page, and those who answered are told when its time, place or way to join changes.
An event page

The head of an event holds its cover, its date, its title, when it is (in the time zone of the reader, and in its own where they differ), where it is, and who hosts it in which space. Then the answers and Add to calendar. Its hosts also find Edit, Check-in, Attendance (a CSV file of who answered, to open in a spreadsheet) and Cancel event.
Below the head:
- Places, for an event with a limit: how many are left, and how many wait.
- Who is going, the faces of the members going, those who said Maybe, and the waiting list in its order, to those the event lets see them.
- Roles, where the event has them.
- The text of the event, with its comments.

Answering
- Going, Maybe or Cannot go. A member going with guests says how many.
- Join the waiting list where the event is full. The first waiting gets a place that frees up and is told at once.
- Ask to come, where its hosts approve: the member answers their questions, and the hosts read the requests under Requests to come on the event page, to accept or decline.
- Where it is by invitation, its hosts invite members by name under Invitations, and only those invited answer.
An online event is attended: Attend and Attending. A member attending finds Join on its page until it ends, which opens its link, its call or its stream, and a call or a stream says Live now while it runs. For an event held elsewhere, members say they are Interested.
A member going gets a reminder before it starts, and their place shows in their calendar when they subscribe.
Check-in

Check-in on the event page opens the list its hosts use at the door: the members going, Find a name, and Check in beside each. A tap again undoes it. The count of those in follows every check-in, on every phone the hosts use.
Cancelling
Cancel event asks first. Everyone who answered is told, and the event stays on its page, marked cancelled.
Repeating events
Repeats in the form makes an event happen every week, every two weeks, every month on the same date, or every month on the same weekday (such as the second Tuesday). It ends after a number of times, on a day, or keeps going.
Each date is an event of its own, with its own answers, and the next twelve are ready ahead. Editing or cancelling a date asks which dates it is for: This date only, This date and the ones after it, or Every date to come. Add every date to a calendar on its page puts them all in a calendar app at once.
Tickets
Where the site takes payments (see Payments), the form has Tickets: free, or a price for each place. Members pay on the secure page of the payment provider and are going once it has told the site they paid. Their place is held while they pay, so the last one is never sold twice. A guest is a place too.
When a place frees up at a full event, the first waiting is offered it to buy, and told. Cancelling an event refunds nobody by itself. A site administrator refunds every ticket in one step under Tickets on the event page, or one by one in Payments. While Events is off, the buyers cannot open their events, and Settings → Components says how many tickets are paid and not refunded before Events goes off.
Reminders and notifications
Members going are reminded a day before and an hour before, as the site sets them. Each member turns them off for themselves under Edit profile → Notifications, where Events has these:
- Someone is going to an event I host.
- A place opens for me at an event.
- An event I am going to is coming up.
- An event I answered changes or is cancelled.
- I am invited to an event.
- A ticket I waited for is mine to buy.
Calendars
Add to calendar on an event adds it to Google Calendar or Outlook, or downloads its file for Apple Calendar and any other calendar app.

Subscribe on the Events page gives a member the address of a feed of their own events, and on the Events tab of a space, of its events. A calendar app that subscribes keeps them up to date. The address of their own feed carries a key: whoever has it can read those events, so Get a new address on the Going tab stops the old one.
Events in spaces
Each space has an Events tab with its events, its calendar and its past events. Its members find New event there when they may create events in it, and an event held by a space reaches the members of that space. Spaces that are not open keep their events to their members.
The Upcoming events widget

Upcoming events, beside an event page and wherever a site places it, lists the next events the reader may see, and on the page of a space, the events of that space.
Settings → Components → Events

- Who creates events: Every member, Moderators or Staff, or the roles Narrow it down picks. Administrators always may. Space roles count in their own spaces: the admins and moderators of a space create events there. By default, administrators and the team of each space.
- Places at a new event: how many places the form starts with. 0 for no limit. The host can change it.
- An Events tab on spaces: on by default.
- Remind members going: A day before and An hour before. Each member can turn reminders off for themselves.
Its data says what Events keeps, and Delete Events data removes it, after a question. While tickets are paid and not refunded, switching Events off or deleting its data says so first.
Changing events
The pages of Poly Community are drawn by the browser from data: one file of each page for every reader, and one answer of data when a member moves to it. Keep a change to Events that way, so the lists and each event stay fast. Pages drawn from data gives the rules, the API and a recipe for the page of one item.
Showing more on an event
Data and a template, never HTML drawn for one reader. What every reader sees of an event, such as a fact of your own, goes in the data of its row through poly_community_item_row_data and is bound in a template of the page. What one reader alone sees, such as their own answer or ticket, is a part registered on poly_community_register_page_data, its answer returning data, bound with state.partHere. What a reader may do shows by a fact. wp poly-community page-data check kit-event says whether the page of an event is one drawing for a visitor, a member and an administrator, and what to change if it is not.
With a coding agent
Give an agent such as Claude Code, Codex or Gemini CLI the page above and ask for the change in its words, then have it run the check. For example: "In Poly Community, show how long an event lasts on its page: add it to the row of the event through poly_community_item_row_data and bind it in the template of the event page, the length said in words by a getter. Draw no HTML for one reader in PHP. Run wp poly-community page-data check kit-event and fix what it reports."
In the admin
The settings above, Settings → Appearance → Events for the layout of the lists, and Settings → Words for any of their texts.
In the Site Editor
With a block theme, open Appearance → Editor:
- Community: Events, Community: Event, Community: New event, Community: Edit event and Community: Check-in are its pages. The Events page holds Event tabs, Event calendar and Event list. The page of an event holds Event header (with Event date badge, Event name, Event time, Event place, Event host, Event answer, Add to calendar and Event tools), then Event places, Event tickets, Requests to come, Event invitations, Event roles, Who is going and Event description.
- Event row, a template part, is each event in the lists of the Events page and of the Events tab of a space: Event picture, Event date badge, Event time, Event name, Event place, Event summary, Event answer and Event numbers. Change it once and every list follows, in each of the three layouts.
- Upcoming events is a block for any page or a widget area.
In code
A plugin of your own adds a way to join an online event with poly_community_event_join_sources. The form then offers it under How people join, its button is on the event, and a member attending gets its address. This one sends everyone to the stream of the town hall:
function my_site_event_join_sources( $sources ) {
$sources['town-hall'] = array(
'label' => 'The town hall stream',
'button' => 'Watch the stream',
'available' => 'my_site_town_hall_available',
'target' => 'my_site_town_hall_target',
'state' => 'my_site_town_hall_state',
);
return $sources;
}
add_filter( 'poly_community_event_join_sources', 'my_site_event_join_sources' );
function my_site_town_hall_available( $event ) {
return true;
}
function my_site_town_hall_target( $event, $user_id ) {
return 'https://stream.example.com/town-hall';
}
function my_site_town_hall_state( $event ) {
return 'idle';
}
available says whether an event may be joined that way (the group call of Better Messages is offered only to the events of a space with one), target gives the address to a member, or nothing to keep it from them, and state says live while it runs, for the Live now mark. The other hooks of Events are in Hooks of the components, and Changing a component sets out the ways every component changes.