login Sign In

Sites & Gallery

Managing your sites, gallery images, contact inbox, and site analysis.

schedule 7 min read

Sites Management

The All Sites section in the sidebar (super_admin only) lists every site on the platform. Each site row has these actions:

ActionIconDescription
PreviewvisibilityOpens the live static site in a new tab
Page Builderedit_noteOpens the section-based page editor
Visual EditorbrushOpens the inline contenteditable visual editor
AI Chat Editorsmart_toyOpens the AI chat interface for editing via conversation
Download ZIPdownloadExports the entire site as a ZIP file for self-hosting
InboxinboxShows contact form submissions for this site
SettingssettingsOpens site-specific settings (payment, email, tracking, etc.)
DeletedeletePermanently 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
info
Slug Rules

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}/.

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.php and click "Regenerate All Sites" (super_admin only)