Theme Documentation – version 1.0.0
Coming Soon Premium is a light classic WordPress theme for launch/under‑construction pages with a live countdown, email collection, and a simple CSV export for subscribers.
coming-soon-premium to wp-content/themes/.front-page.php template.2025-12-31 23:59).We’re Launching SoonSign up to get notified when we go live.1767225540 (UTC seconds) – or
Launch Date & Time: 2025-12-31 23:59#0f172acoming-soon-premium/
├─ assets/
│ ├─ css/
│ │ └─ style.css ← main styles
│ └─ js/
│ └─ main.js ← countdown + ajax subscribe
├─ inc/
│ └─ customizer.php ← Customizer panels/controls
├─ front-page.php ← main landing template
├─ functions.php ← setup, assets, AJAX, CPT, export
├─ header.php ← theme header (wp_head)
├─ footer.php ← theme footer (wp_footer)
├─ index.php ← fallback template
└─ style.css ← theme header (metadata)
Add URLs for Facebook, Twitter, Instagram, LinkedIn.
The countdown reads a UNIX timestamp (seconds) from Customizer. If you paste a millisecond value, it is divided by 1000 automatically. Alternatively, leave timestamp as 0 and fill the human‑readable “Launch Date & Time” (e.g., 2025-12-31 23:59), which is parsed in the site timezone.
JS updates the counters every second using assets/js/main.js.
admin-ajax.php with action csp_subscribe.Endpoints and logic live in functions.php (enqueue + AJAX handler). Frontend behavior is in assets/js/main.js.
.csp-site – main area; background image/color.csp-container – centered container.csp-logo, .csp-headline, .csp-subheadline.csp-countdown with #csp-days, #csp-hours, #csp-mins, #csp-secs.csp-form, #csp-form, #csp-email, #csp-gdpr, #csp-message.csp-social – social icons list.site-header, .site-branding – header layout (centered)wp_head(), wp_body_open(), site branding.wp_footer() for scripts.assets/css/style.css (see .site-header).admin-ajax.php; whitelist it.style.css header, index.php, and preferably header.php/footer.php.Can I send emails to admin on subscribe? Yes. Add a wp_mail() call in the AJAX handler or integrate with a service (Mailchimp, Brevo). SMTP plugins improve deliverability.
How to change fonts/colors? Edit assets/css/style.css. You can enqueue extra styles via a child theme if needed.
Make the page private? Use a maintenance/coming‑soon plugin, or restrict access via server rules. This theme itself does not gate content.
Open this file anytime at wp-content/themes/coming-soon-premium/documentation.html.