đź§ Publishing a live online demo
Stand up a public, self-resetting demo of Pavilion on your marketing website so prospective clubs can try it before subscribing — the same setup the official Pavilion demo uses.
1Use a separate, throwaway site
Create a fresh WordPress install just for the demo — never point demo mode at a real club’s site. Install the Pavilion plugin and the Pavilion marketing theme on it.
↓
2Switch demo mode on
Add one line to that site’s wp-config.php:
define( 'PVL_DEMO_MODE', true );. On first load Pavilion seeds a full sample club, creates the Live Demo page, and blocks all outgoing email automatically.↓
3Set the reset frequency
In Settings → System → Demo Data, open the “Live public demo” panel and choose how often the demo wipes and re-seeds. The default is every 2 hours.
↓
4Point the theme’s demo button at it
In the marketing theme, open Appearance → Customize → Pavilion and set the “Live demo URL” to your demo site’s /demo/ page. Every “Live demo” button on the marketing site now leads visitors straight there.
↓
5Try it as a visitor
Open the /demo/ page in a private browser window. You’ll see the shared username and password and a one-click button into a fully working, read-only-settings sandbox — no emails sent, data resetting on your schedule.
💡 Tip: Because settings are read-only and every change is wiped on reset, the demo stays tidy no matter what visitors do — and because email is blocked at the source, nothing ever leaves the sandbox.