Sites & Gallery
Managing your sites, gallery images, contact inbox, and site analysis.
Sites Management
The All Sites section in the sidebar (super_admin only) lists every site on the platform. Each site row has these actions:
| Action | Icon | Description |
|---|---|---|
| Preview | visibility | Opens the live static site in a new tab |
| Page Builder | edit_note | Opens the section-based page editor |
| Visual Editor | brush | Opens the inline contenteditable visual editor |
| AI Chat Editor | smart_toy | Opens the AI chat interface for editing via conversation |
| Download ZIP | download | Exports the entire site as a ZIP file for self-hosting |
| Inbox | inbox | Shows contact form submissions for this site |
| Settings | settings | Opens site-specific settings (payment, email, tracking, etc.) |
| Delete | delete | Permanently deletes the site and all its data |
Creating a New Site
Click the + New Site button on the Dashboard or go to /admin/sites.php. Fill in:
- Site Name — display name (e.g. "Sunrise Academy")
- Slug — URL-safe identifier, auto-generated from name (e.g. "sunrise-academy"). Max 90 chars.
- Business Type — determines which template set and default pages are created
- Template — choose a starting template or "blank"
- Colors & Font — primary color, secondary color, font family
- Logo — upload a logo image (PNG/JPG/SVG, max 2MB)
- Contact Email & Phone — used in generated contact pages
Slugs must be lowercase letters, numbers, and hyphens only. They must be unique across all sites. The slug is used as the folder name in /sites/{slug}/.
Gallery
The Gallery (/admin/gallery.php?site_id=X) manages images for a specific site. Features:
- Upload — drag-and-drop or click to upload. Supports JPG, PNG, GIF, WebP. Max 5MB per image.
- Captions — add captions to images for accessibility and SEO
- Delete — removes the image file and database record
- Gallery section — images are automatically available in the Gallery section type in the Page Builder
Contact Inbox
The Inbox (/admin/inbox.php?site_id=X) shows all contact form submissions for a site. Features:
- Unread count shown as a badge in the sidebar
- Mark as read/unread
- Reply via email (if SMTP is configured in Settings)
- Delete messages
- Export to CSV
Site Analysis
The Site Analysis page (/admin/site-analysis.php?site_id=X) runs automated checks on your site and reports:
- Performance — page load time, file sizes, image optimization
- SEO — meta tags, headings structure, alt text coverage
- Accessibility — ARIA labels, color contrast, keyboard navigation
- Security — HTTPS, security headers, mixed content
Regenerate HTML
Static HTML files are regenerated automatically when you save pages. You can also manually trigger regeneration:
- Single site — click "Regenerate HTML" in the sidebar for the current site
- All sites — go to
/admin/regenerate.phpand click "Regenerate All Sites" (super_admin only)