Skip to content

Sampraveeen/email-subscriber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📧 Email Subscriber – WordPress Plugin

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.


🔧 Features

  • ✅ 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])

🛠️ Technologies Used

  • PHP
  • JavaScript (AJAX)
  • WordPress Plugin API
  • MySQL (via WordPress DB)

🧪 Installation

  1. Download or clone this repository.
  2. Copy the plugin folder to:
    '/wp-content/plugins/email-subscriber/'
  3. Go to your WordPress Dashboard → Plugins → Activate "Email Subscriber".
  4. Use the shortcode '[es_form]' on any page or post to display the subscription form.

✨ Usage

  • 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.

📸 Screenshot

Screenshot

(Make sure to add your form screenshot in assets/screenshot.png before pushing to GitHub)


✍️ Author

P Samiksha
Email: samikshapraveen@gmail.com
GitHub: github.com/Sampraveeen


🧾 License

This plugin is licensed under the MIT License.

About

A simple WordPress plugin to collect email subscriptions via AJAX with admin email alerts and CSV export.

Resources

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.txt

Stars

Watchers

Forks

Packages

 
 
 

Contributors