Demo content for a theme
This page is for designers who fill a demo site or ship sample content with a theme. Good demo content sells the theme and finds its bugs.
What to create
| Content | Why |
|---|---|
| A front page with every block type the theme styles | Shows the range |
| Articles with short and very long titles, with and without images | Finds wrapping and cropping bugs |
| A list with more items than one page | Shows paging |
| An event, a blog post, a form (if the theme styles them) | Shows the class templates |
| Pages in a second language, and one right-to-left language if supported | Proves translations and direction |
| Empty optional fields | Shows the template copes with missing data |
Text and images
- Write realistic but invented text; never copy a real customer's site. Exponential can generate placeholder text in a test language (Test language and lorem ipsum).
- Use only images you may redistribute (Creative Commons for images).
- No real people, addresses or email addresses.
Shipping it
| Way | Page |
|---|---|
A content object package (.ezpkg) of the demo subtree | The package creator wizard, Exporting with ezpm |
Images and files in share/ with install steps | The share folder |
| Only on your demo site | Running a demo site |
Step by step
- Build the content on a development installation in its own subtree.
- Review it with the table above.
- Export the subtree:
php ezpm.php add mytheme_demo ezcontentobject <node id>aftercreate, thenexport. - Install it on a fresh test site (Installing your package on a test site).
Site packages: contribute them
If your theme comes with a complete site package (the kind the setup wizard installs a new site from), 7x and the Exponential Foundation strongly encourage you to submit it by pull request to se7enxweb/exponential.packages.exponential.earth, the repository of the package server the setup wizard uses. Then every new installation can start from it. How: Contribute your site package.
Related pages
- Screenshots for a theme
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.