A simple WordPress plugin to collect email subscriptions via AJAX, notify the admin, and export data as CSV. Lightweight, secure, and easy to use for any WordPress site.
- ✅ AJAX-based email subscription form
- 📩 Admin gets email notifications upon new subscriptions
- 📤 Export collected emails as CSV (with optional filters)
- 🔒 Sanitized inputs and secure WordPress methods used
- 💡 Easy shortcode integration (
[es_form])
- PHP
- JavaScript (AJAX)
- WordPress Plugin API
- MySQL (via WordPress DB)
- Download or clone this repository.
- Copy the plugin folder to:
'/wp-content/plugins/email-subscriber/' - Go to your WordPress Dashboard → Plugins → Activate "Email Subscriber".
- Use the shortcode '[es_form]' on any page or post to display the subscription form.
- Add '[es_form]' wherever you want the form to appear.
- Subscribed emails are stored in the database.
- Admins receive notification emails.
- Use the CSV Export option in the admin area to download the list.
(Make sure to add your form screenshot in assets/screenshot.png before pushing to GitHub)
P Samiksha
Email: samikshapraveen@gmail.com
GitHub: github.com/Sampraveeen
This plugin is licensed under the MIT License.
