đź§ 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.
1 Use 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.
2 Switch 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.3 Set 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.
4 Point 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.
5 Try 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.
Was this helpful?
Thanks for letting us know.
Sorry this did not answer it. Thanks for telling us: we use it to improve the guides.
Still need help? Sign in to your account and raise a support ticket. The people who wrote the code will help, and most tickets are answered the same working day.