My Contact Form
A simple custom contact form plugin.
by Your Name · github.com/sajeelsahil1/contact-form-wordpress-plugin · website
★ 0stars
0forks
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/sajeelsahil1/contact-form-wordpress-plugin/archive/refs/heads/main.zipPerfect 👌 Let’s make a README.md for your plugin so your GitHub repo looks professional.
Here’s a copy-paste version (save it as README.md in your plugin folder):
# My Contact Form - WordPress Plugin
A simple custom WordPress contact form plugin with modern design.
It allows users to submit their name, email, and message. Submissions are sent via email to the site admin.
---
## 📌 Features
- Lightweight and simple contact form
- Uses shortcode `[my_contact_form]`
- Sanitizes inputs for security
- Sends email to WordPress admin email
- Customizable UI with modern design
---
## 🚀 Installation
1. Download or clone this repository into your WordPress `wp-content/plugins` folder:
```bash
cd wp-content/plugins
git clone https://github.com/Sajeelsahil1/contact-form-wordpress-plugin.git
-
Activate the plugin from WordPress Admin → Plugins.
-
Add the shortcode to any page or post:
[my_contact_form]
🛠️ Usage
- Create a new page in WordPress called Contact Us.
- Paste the shortcode
[my_contact_form]inside the page. - Visit your site and test the form.
⚠️ Notes
- On localhost, emails may not send (WordPress
wp_mail()requires SMTP or a live server). - To enable email sending, install an SMTP plugin (like WP Mail SMTP) and configure it with Gmail or another provider.
📂 Project Structure
my-contact-form/
├── my-contact-form.php # Main plugin file
├── readme.md # Documentation (this file)
👨💻 Author
- Sajeel Sahil
- GitHub: Sajeelsahil1
📜 License
This plugin is licensed under the GPL2 license.
Do you also want me to give you a .gitignore file for WordPress plugins (so things like .DS_Store, backup files, and system junk don’t get pushed)?