Main/WordPress Fullstack/Blueprints/Custom Themes/High-Performance Lead Forms with CPT Storage & Telegram / SMTP Notifications
Back to «Custom Themes» cardsCustom Themes(ТЗ 28 из 54)
Spec: High-Performance Lead Forms with CPT Storage & Telegram / SMTP NotificationsТрудозатраты~8 рабочих часов
Фриланс вилка~$360 – $600 (€320 – €560)
Оценка веб-студии~$760 – $1,280 (€720 – €1200)
ТЗ заказчика (исходный бриф):
Contact Form 7 is slowing down our site, getting flooded with spam, and emails often end up in spam folders. We need lightweight custom forms that save leads directly in WordPress, send instant alerts to our sales Telegram group, and notify via SMTP.
Ключевые требования:
- •Private Custom Post Type 'lead_entry' to securely store form submissions in the WordPress database
- •Lightweight frontend form markup with CSRF Nonce token and invisible Honeypot antispam field
- •Custom WP REST API endpoint /theme/v1/submit-lead with strict input sanitization and rate limiting
- •Instant Telegram notification dispatched to sales chat via Telegram Bot API using wp_remote_post()
- •Modern client JavaScript with Fetch API, spinner animation, error handling, and success modal
Ограничения проекта:
- •Zero third-party form plugins (no Contact Form 7, WPForms, or Gravity Forms bloat)
- •Store Telegram Bot Token and Chat ID securely in wp-config.php or encrypted options
- •Form submission must not block page responsiveness (asynchronous processing)
Критерии приёмки (KPI):
- Lead submission roundtrip time < 350ms
- Zero spam submissions passing the Honeypot trap
- 100% of leads reliably stored in CPT database regardless of external network state
Пошаговое практическое руководство по ТЗ
Подробный разбор архитектуры, код реализации и советы эксперта по каждому этапу: