Marketing site theme for Drift: product suites, app cards, an app spotlight and a demo / contact form. Built by The Bonsai Digital Collective on the Drift Brand System (see DESIGN.md).
- Version: 1.0.0
- Repo: https://github.com/drift-creative-systems/drift-create
- Requires: WordPress 6.3+, PHP 8.0+, ACF Pro
- Recommended: Advanced Custom Fields: Extended (free) for the visual "Add module" picker with thumbnails
- Text domain:
drift-create
- Install and activate ACF Pro (licence applied).
- Download
drift-create.zipfrom the latest release, upload it under Appearance → Themes → Add New → Upload, and activate it. (The folder must be nameddrift-create. GitHub's auto-generated "Source code" zips won't work.) - On first activation the theme:
- creates the Apps (Encore, Greenroom, Stageside, Wristband, Wristband Fan)
- creates a Home page and sets it as the static front page
- fills Home with page modules matching the original design (once ACF Pro is active)
- Field groups load automatically from
acf-json/. If wp-admin → ACF → Field Groups shows Sync available, click it. - Check Drift Settings (contact recipient, footer, brand line) and Settings → Permalinks (save once if
/apps/…404s).
| What | Where |
|---|---|
| Page layout and copy | Pages → (page) → Page modules |
| Apps (cards, app pages) | Apps — title, excerpt = card text, App details box (incl. App avatar upload and Platforms), Page modules = app page body, Roadmap box = the app's roadmap items, Page Attributes → Order = card order |
| Team members | Team — title = name, featured image = photo, Team details box (role, suite, bio, links), Page Attributes → Order = display order. No public pages; they show through the Team module. |
| Testimonials | Testimonials — title = name, featured image = headshot (optional), Testimonial details (quote, role, company), Page Attributes → Order. No public pages; shown through the Testimonials module. |
| Brand line, header / footer / hero logos, footer company details, footer links, social links, contact copy and recipient, newsletter (Brevo) settings and copy, suite taglines and landing pages, default meta description | Drift Settings |
| A page's suite colour and default suite | Pages → (page) → Page settings → Page suite (sidebar) |
| Keep a page out of Google (proposals sent by link) | Pages → (page) → Page settings → Hide from search engines (noindex + left out of the core and Yoast sitemaps) |
| A "Download PDF" button | Upload the PDF to Media, copy its URL into a button link. Buttons linking to a .pdf download it |
| Main menu | Appearance → Menus (location "Main menu"; falls back to Apps / Encore / About) |
| Legal links (T&Cs, Privacy, Cookies) | Appearance → Menus (location "Footer legal links"; falls back to the Privacy Policy page from Settings → Privacy) |
| Module | What it does |
|---|---|
| Hero | Eyebrow, big title (H1 if first), lead, buttons, optional logo tile |
| Content | Heading (H1 if first, page title if left empty) and a rich text block, for standard pages |
| Suite tiles | One tile per suite in its colour: tagline, app icons and names, available / coming count, link to the suite landing page. All automatic |
| App suites (cards) | Apps grouped by suite with optional headings; pick a featured app; optional platform filter. No rows = the page suite (or all) |
| Stats | Big numbers: counted from Apps (apps, available, suites, platforms) plus your own |
| Cards | Grid of 2–4 columns: your own cards (icon image, optional title, rich text, link) or chosen Apps |
| App spotlight | Black section for one app: steps, app page button, demo button, optional Encore flow animation |
| Split text | Heading left, rich text right |
| Image + text | Image left or right, optional grey background, buttons |
| Testimonials | Quote cards in 1–3 columns: all, the first N, or picked |
| Logos | "Who we work with" logos (labels, artists, agencies): image, optional dark-mode version, name and website link. Up to 5 in one row; 6+ become a slider with prev / next buttons. Greyscale until hover (switchable) |
| Team | Team members as cards: photo, name, role, suite, "Read bio" toggle, links. Everyone, picked people, or one suite |
| Full-width image | Edge to edge or page width; natural or short/medium/tall crop with focal point; caption; optional overlay heading, text and buttons |
| Video | YouTube/Vimeo link (click to play, privacy-enhanced) or uploaded MP4/WebM; poster, caption, narrow or wide |
| Pricing table | Plans with free-text price, period, feature list and button; highlight one with a badge |
| Table | Data table (price lists, comparisons, worked examples): label + optional detail line, up to 3 value columns, highlighted total rows, small print. Two in a row sit together under one heading. Prose width lines it up with Content text (policies); "Wrap long values" for long-text cells |
| Roadmap | Every app's roadmap items as Now / Next / Later columns plus Recently shipped; optional suite filter and button. Suites = picked, else the page suite, else all |
| FAQ | Accordion, optional FAQPage schema |
| CTA band | Black band with heading, text, buttons and a suite accent |
| Contact form | Demo / enquiry form (always #contact). Optional App fixes it to one app and hides the "Interested in" list |
| Newsletter sign-up | Heading and text beside the mailing list form (Brevo). Hidden until Brevo is set up |
Sign-ups use Brevo double opt-in: Brevo emails a confirmation link, and people only join the list once they click it. Set it up under Drift Settings → Newsletter:
- API key: Brevo → SMTP & API → API Keys. To keep it out of the database instead, add
define( 'DRIFT_BREVO_API_KEY', 'xkeysib-…' );towp-config.php, which overrides the field. - List ID: Brevo → Contacts → Lists (defaults to 2).
- Double opt-in template ID: Brevo → Templates. The template needs the "optin" tag and a
{{ doubleoptin }}confirm link. - After confirming, go to: a thank-you page (blank = home page).
The footer form (#newsletter) and Newsletter modules stay hidden until 1–3 are filled in. Failed Brevo requests go to the PHP error log as Drift newsletter: ….
Every module except Contact has an Anchor ID field, so menus and buttons can link to /#apps, /#about and so on.
The editor is hidden on Pages and Apps, so both are built only from modules. A page or app with no modules still shows any older editor content. A page whose first module isn't a Hero or Content module shows the page title as its H1.
On app pages the app hero (from App details) always shows first and holds the H1; modules follow it. The contact form is added at the bottom automatically unless the app has a Contact module.
- Thank-you page: build a page from modules (turn on Hide from search engines), then pick it under Drift Settings → Contact → Thank-you page. Demo requests then land on
/{page}/demo/{app-slug}/(e.g./thank-you/demo/surface/), general enquiries on the page itself. Each URL pushes adrift_enquiryevent (enquiry_type: demo / general,app: slug) to the dataLayer for GTM / GA4. In Google Ads, track a conversion on "URL contains/thank-you/demo/surface/". Leave the setting blank to keep the in-place "Thanks, message sent" message. - Ads landing page: turn on Page settings → Ads landing page (and Hide from search engines). The menu, footer columns and social links go and the logo stops being a link, so the form is the only way on. Add a Contact module with App set so the form is fixed to that app.
- Suites are Music Suite, Agency Kit and SEO (
drift_suites()ininc/apps.php). Set each suite's tagline and landing page under Drift Settings → Suites. Suite tiles and the app page "←" link go to the landing page. - Suite landing page: build it from modules like any page and set Page suite in the sidebar. The page takes the suite colour, accent fields left blank follow it, and App suites / Roadmap modules show only that suite unless you pick suites in them.
- Roadmaps: add items in the app's Roadmap box (item, stage Now / Next / Later / Shipped, optional target quarter, shipped date, note). They appear on the app page (
#roadmap), on the app's own page at/apps/{app}/roadmap/, and in Roadmap modules. The/roadmap/page isnoindexuntil it has 5 items, and returns 404 for an app with no items.
drift-create/
├── functions.php Constants + requires inc/*
├── inc/
│ ├── setup.php Theme supports, menus, asset enqueue (+ per-module CSS)
│ ├── acf.php ACF JSON paths, Drift Settings options page, drift_option(), choice filters, ACF Extended module thumbnails
│ ├── apps.php drift_app CPT, suites, page suite, statuses, platforms, drift_app_meta(), drift_apps()
│ ├── roadmap.php App roadmaps: drift_app_roadmap(), /roadmap/ endpoint, canonical / title / robots
│ ├── team.php drift_team CPT (admin-only), drift_team_meta(), drift_team_members()
│ ├── testimonials.php drift_testimonial CPT (admin-only), drift_testimonial_meta(), drift_testimonials()
│ ├── brand.php Brand name/line, logo mark SVG, favicons, document title
│ ├── meta.php Meta description + OG (skipped if an SEO plugin is active)
│ ├── contact.php admin-post form handler → wp_mail, thank-you URLs, drift_contact_form(), drift_demo_url()
│ ├── newsletter.php admin-post sign-up handler → Brevo double opt-in, drift_newsletter_form()
│ ├── modules.php Flexible content renderer + module helpers
│ ├── upgrade.php First-run seed + version upgrades
│ ├── updates.php GitHub release updates (Plugin Update Checker)
│ └── seed.php Seed content (loaded only when seeding)
├── modules/{layout}/ module.php (+ optional module.css, loaded only where used)
├── parts/ app-card, app-suites, filter, roadmap, contact, newsletter, encore-flow
├── vendor/ Composer (plugin-update-checker) — committed
├── acf-json/ Field groups — commit every change
├── assets/ site.css (base + components), site.js (jQuery), brand/, images/modules/ (picker thumbnails)
├── bin/ module-thumbnails.py (draws the picker thumbnails)
├── front-page.php, page.php, single-drift_app.php, index.php, 404.php, header.php, footer.php
└── DESIGN.md, CHANGELOG.md, MEMORY.md, CLAUDE.md, llm-instructions.txt
- In ACF, add a layout to Page modules (
page_modules). Use a snake_case name, e.g.logo_strip. Include an Anchor ID (section_id) field. - Create
modules/logo_strip/module.php(useget_sub_field(), escape everything, return early if the key field is empty). Addmodule.cssif it needs styles. - Add
logo_striptodrift_module_layouts()and theswitchindrift_render_modules()(inc/modules.php). - Give the layout a Category (ACF Extended tab in the picker) and a thumbnail: add a drawing function named after the layout to
bin/module-thumbnails.py, add it toMODULESand runpython -I bin/module-thumbnails.py. A real screenshot saved asassets/images/modules/logo_strip.png(or .jpg/.webp) wins over the SVG. Don't upload a thumbnail in the field group screen (that saves a media ID from one site). - Commit the updated
acf-json/group_drift_page_modules.json.
- No build step. Plain CSS and jQuery. Assets are versioned by
filemtime. The only Composer dependency is the update checker. - ACF JSON saves into
acf-json/. Edit field groups on a dev site, then commit the JSON. - App detail fields use the original meta keys (
drift_suite,drift_tagline,drift_status,drift_platform,drift_icon(avatar image ID),drift_accent,drift_demo, and thedrift_roadmaprepeater). Templates read them withget_post_meta(), so they work even if ACF is off. - Filters (
parts/filter.php+assets/site.js): putdata-filter-scopeon the section,data-filter-tags="a b"on items anddata-filter-groupon wrappers that should hide when empty. - Without ACF Pro: an admin notice shows, the front page falls back to hero + apps + contact, and other pages show their editor content.
The theme updates itself from GitHub releases via Plugin Update Checker (inc/updates.php). WordPress checks every 6 hours. New versions appear under Dashboard → Updates and install the drift-create.zip release asset.
vendor/ is committed, so the theme works straight from a release zip. After a fresh clone it's already there. Only run composer install if you change composer.json.
Work on develop, then:
- Bump the version in both
style.css(Version:) andfunctions.php(DRIFT_CREATE_VERSION). - Add a dated section to
CHANGELOG.md. - Merge
develop→mainand push. - Tag and build the zip from the tag (
.gitattributeskeeps dev files out of it):git tag v1.0.1 && git push origin v1.0.1 git archive --format=zip --prefix=drift-create/ -o drift-create.zip v1.0.1 - Create the release with the zip attached, named exactly
drift-create.zip:gh release create v1.0.1 drift-create.zip --title "Drift Creative Systems 1.0.1" --notes "<changelog section>"
Sites pick it up on their next update check (or Dashboard → Updates → Check again).
Activate ACF Pro first. On the next page load the theme gives the front page the modules that recreate the old hardcoded layout (only if it has none). The Customiser "Brand" setting is still read as a fallback until Drift Settings → Brand is saved.
Copyright © 2026 Drift Creative Systems Ltd
Drift Creative Systems Ltd. Registered in England and Wales, company number 17548220. Registered office: 167-169 Great Portland Street, 5th Floor, London W1W 5PF