Conference websites tend to go wrong the same way. Someone builds a nice page in March, then the schedule changes in June, ticket prices go up in September, Pro sells out in October, and the site is out of date for all of it.
We built Assemble to avoid that. It's a free conference website theme for Automatrix, our event ticketing app: 38 pages designed, shipped as a WordPress block theme, plus a free Figma file of every page.
The rule we built it around: the theme holds no event data. Dates, ticket prices, sales state, the schedule, speakers and sponsors all come from blocks that read the event live. The theme decides how they look, and nothing else.
Here's how that works, and a few things we learned along the way.
What's in it
- 38 pages: schedule, sessions, speakers, tickets, venue and travel, sponsors, blog, videos, a live-stream page, gallery, FAQ, contact, call for speakers and a 404 that says "This session moved."
- Six home pages for six kinds of event: conference, product launch, online summit, hackathon, trade expo and company offsite. They share every component and change only the layout, hero, photos, copy and which pastel leads.
-
Phase homes:
home-livefor the day itself (live hero, now and next, the stream) andhome-afterfor after (recordings, gallery, next year). - Style variations: three accent swaps, two type pairings and an ink dark mode.
The demo event is Assemble 2027, a fictional two-day web developer conference in a converted printworks in San Francisco. Live demo: themes.automatrix.app/assemble.
The look: one loud colour
The design system is small on purpose:
- white pages, ink type, ink buttons;
-
one lime accent (
#C9F27E) for bands, highlights and the next step; - four pastel tints (pink, butter, mint, sky) for ticket cards, speaker monograms and page-head glows;
- Reddit Sans for everything: titles at 600 with tight tracking, body at 1.55 line height.
The pastel tint is the one repeating device. Each ticket type gets the next tint in order, and a speaker without a photo gets a monogram on the next tint. When something sells out, it loses its tint. That makes the state visible without adding a new colour.
The theme contract
Automatrix ships several themes, and the event blocks have to look right in all of them. So every theme signs the same contract: a fixed list of slugs in theme.json. A theme changes values, never slugs.
The palette is 18 colour roles, in a fixed order:
"palette": [
{ "slug": "background", "name": "Background (white)", "color": "#FFFFFF" },
{ "slug": "surface", "name": "Surface (soft grey: ticket band, cards)", "color": "#F3F3F1" },
{ "slug": "text", "name": "Text (ink)", "color": "#0C0C0C" },
{ "slug": "text-muted", "name": "Muted text", "color": "#5C5C58" },
{ "slug": "primary", "name": "Primary (ink: buttons, chosen options)", "color": "#0C0C0C" },
{ "slug": "on-primary", "name": "On primary (white)", "color": "#FFFFFF" }
// ...accent, border, success, warning, danger and their "on-" pairs
]
The contract also fixes font size roles (large through hero), a spacing scale and custom tokens for radius, line height, rules and the gutter. Assemble's look lives in those values:
"custom": {
"radius": { "pill": "999px", "media": "16px", "control": "10px", "card": "14px" },
"lineHeight": { "hero": "1.02", "heading": "1.12", "snug": "1.3", "body": "1.55" },
"gutter": "clamp(1rem, 4.4vw, 4rem)",
"tint": { "pink": "#F9D3E2", "butter": "#FBE7A6", "mint": "#D6F5B4", "sky": "#CFE0FB" }
}
The plugin's block styles read only --wp--preset--* and --wp--custom--*, so a new theme restyles every event block just by filling in the contract. The checkout widget and emails need the same colours outside WordPress, so each theme also exposes the roles as plain custom properties:
:root {
--amx-color-background: var(--wp--preset--color--background);
--amx-color-primary: var(--wp--preset--color--primary);
/* ...all 18 roles */
}
npm run check enforces the list, and also checks that every token the plugin's CSS reads actually exists in the theme.
Event data comes from blocks, not the theme
The schedule is the amx/agenda block, drawn as a table: time, the session over its speakers, room, and the session kind as a pill. Speakers come from amx/speakers, ticket cards from amx/ticket-tiers, and the date, venue, countdown and sales state from their own blocks. They all render on the server from the event's data, so when an organizer raises a price in the app, the site shows it within about 30 seconds (that's how long a page caches the event).
That raises a question: what does a section do when its block has nothing to show, like a sponsors section before anyone has signed? The contract has a one-line answer:
.amx-needs-data:not(:has([class*="wp-block-amx-"])) {
display: none;
}
Wrap a section in amx-needs-data. If no event block rendered inside it, the whole section disappears, heading and all. No PHP, no empty "Sponsors" heading over nothing.
Hiding the blog until there is a blog
The home page has a "From the blog" strip. On a new site with no posts, that's an empty section and a footer link to nowhere.
Patterns can't hold logic, and the front page stores the pattern's markup, so the check has to run when the page renders. A render_block filter drops any block marked amx-needs-posts while the site has no published posts, and points its "All posts" link at the real posts page:
function assemble_needs_posts( $content, $block ) {
if ( ! in_array( 'amx-needs-posts', explode( ' ', (string) ( $block['attrs']['className'] ?? '' ) ), true ) ) {
return $content;
}
if ( ! (int) wp_count_posts( 'post' )->publish ) {
return '';
}
$page = 'page' === get_option( 'show_on_front' ) ? (int) get_option( 'page_for_posts' ) : 0;
$url = $page ? get_permalink( $page ) : false;
$tags = new WP_HTML_Tag_Processor( $content );
while ( $tags->next_tag( array( 'tag_name' => 'a', 'class_name' => 'amx-posts-link' ) ) ) {
$tags->set_attribute( 'href', $url ? $url : home_url( '/' ) );
}
return $tags->get_updated_html();
}
foreach ( array( 'core/group', 'core/list-item', 'core/paragraph' ) as $assemble_block ) {
add_filter( 'render_block_' . $assemble_block, 'assemble_needs_posts', 10, 2 );
}
WP_HTML_Tag_Processor is the right tool here. It edits attributes safely without regex, and set_attribute() escapes the href for you.
Every state, designed up front
An event site changes mood over a year: sales open, seats run low, Pro sells out, a stream goes live, the event ends. We designed each of those as its own layout before writing any code, along with the empty, error and "this link has expired" cases.
In the theme, few left and sold out use the contract's warning and danger roles. Those status roles never follow the brand colour, so "sold out" reads the same in every theme and every variation.
Accessibility fixes core doesn't give you
A few things we had to add ourselves.
Scrolling tables need to be reachable. Core's table block scrolls sideways on phones (overflow-x: auto), but a keyboard user can't scroll something they can't focus. So on render, the table's <figure> becomes a focusable, labelled region, named by its caption:
$tags = new WP_HTML_Tag_Processor( $content );
if ( $tags->next_tag( 'figure' ) && null === $tags->get_attribute( 'tabindex' ) ) {
$tags->set_attribute( 'tabindex', '0' );
$tags->set_attribute( 'role', 'region' );
$tags->set_attribute( 'aria-label', $label ); // the figcaption's text, or "Table"
}
Doing it on render keeps the saved block markup identical to core's, so the editor never flags the block as invalid.
Focus rings per surface. An ink focus ring vanishes on an ink band. Assemble sets --as-focus and --as-focus-halo once per surface family (light, ink, lime), and every focus style uses them, including the plugin's blocks. A new dark surface joins the ink list and needs no focus rule of its own.
44 × 44 px touch targets on nav links, the submenu toggle, footer links, breadcrumbs, pills, chips and small buttons. Breadcrumbs use a negative margin so the line keeps its text height while the tap area grows.
Responsive without breakpoint soup
Most of the layout scales with clamp() instead of breakpoints. The gutter is clamp(1rem, 4.4vw, 4rem), and the type sizes are fluid presets in theme.json, so the hero headline runs from 3.25rem on a phone to 5.5rem on desktop with no media query. Every page holds up down to 390px.
A small deploy lesson: version your CSS by file time
The demo sits behind a CDN that caches theme.css?ver=0.1.0 for four hours. The theme's version number never changes between deploys, so after a deploy everyone got the old stylesheet.
The fix is one line: version the file by its modification time.
$file = get_theme_file_path( 'assets/theme.css' );
$ver = file_exists( $file ) ? (string) filemtime( $file ) : wp_get_theme()->get( 'Version' );
wp_enqueue_style( 'assemble', get_theme_file_uri( 'assets/theme.css' ), $deps, $ver );
The theme's CSS also loads after the plugin's block styles ($deps is amx-blocks when it's registered), so the theme's restyle wins without !important.
What the blocks can't do yet
Being honest about the gaps:
- Perks per ticket type: the tick list on each ticket card is static text for now.
- Attendee list: designed, but left out until there's opt-in attendee data.
- Add to calendar per session: left out (the event-level block exists).
- Forms: contact, sponsorship, call for speakers and newsletter are email buttons on purpose. Themes ship no forms.
- Live stream status: the live page is static; "now and next" is a real block.
When a block can render something, the theme uses it. Until then, the design is ready and the theme falls back to something that never shows wrong data.
Try it
- Live demo: themes.automatrix.app/assemble
- Other themes (an awards gala, a wedding and more): automatrix.app/themes
- Free Figma file with all 38 pages: FIGMA COMMUNITY LINK
- Automatrix, the ticketing app it runs on: automatrix.app
If you build event sites, we'd like to hear how you handle data going stale. Do you pull it live like this, or rebuild on change?




Top comments (0)