Custom Contact Form
A lightweight **WordPress contact form plugin** that allows users to send messages from the frontend while saving submissions in the database and notifying the site admin by email. Developed by **Md Ismail Hossain**.
by Md Ismail Hossain · github.com/ismailanowar/custom-contact-form
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/ismailanowar/custom-contact-form/archive/refs/heads/main.zipA lightweight WordPress contact form plugin that allows users to send messages from the frontend while saving submissions in the database and notifying the site admin by email.
Developed by Md Ismail Hossain.
✨ Features
- Simple Contact Form Shortcode
- Save form submissions to WordPress database
- Email notification to site admin
- Admin dashboard page to view submissions
- Delete submissions (with security nonce)
- Export submissions to CSV
- Clean and lightweight plugin structure
- Custom CSS styling support
📦 Plugin Structure
custom-contact-form
│
├── custom-contact-form.php
│
├── includes
│ ├── form-shortcode.php
│ ├── handle-submission.php
│ ├── create-table.php
│ └── admin-page.php
│
├── assets
│ └── css
│ └── style.css
│
└── README.md
🚀 Installation
- Download the plugin.
- Upload the
custom-contact-formfolder to:
/wp-content/plugins/
- Go to WordPress Dashboard → Plugins
- Activate Custom Contact Form
🧩 Usage
Create a new page or post and add this shortcode:
[custom_contact_form]
The contact form will appear on the page.
📊 Admin Submissions
After activation:
Go to:
WordPress Dashboard → Contact Form
You can:
- View all submissions
- Delete submissions
- Export all submissions as CSV
🔒 Security
This plugin follows basic WordPress security practices:
- Input sanitization
- Nonce verification
- Capability checks
- Database table creation using
dbDelta
📥 CSV Export
Admins can download all contact form submissions in CSV format for reporting or backups.
🛠️ Technologies Used
- PHP
- WordPress Plugin API
- MySQL
- HTML / CSS
📄 License
This project is open-source and available under the MIT License.
👨💻 Author
Md Ismail Hossain
WordPress Plugin Developer
GitHub Portfolio Project