WP Manifestindependent plugin directory
manifest / forms / contact-form-wordpress-plugin

My Contact Form

A simple custom contact form plugin.

★ 0stars

Install

Download source zip No release zip yet

This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.

Install straight from GitHub with WP-CLI:

wp plugin install https://github.com/sajeelsahil1/contact-form-wordpress-plugin/archive/refs/heads/main.zip
No built-in updater. New versions won't appear under Dashboard → Updates. Install new releases yourself, or let Git Updater track the repository.

Perfect 👌 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
  1. Activate the plugin from WordPress Admin → Plugins.

  2. Add the shortcode to any page or post:

    [my_contact_form]

🛠️ Usage

  1. Create a new page in WordPress called Contact Us.
  2. Paste the shortcode [my_contact_form] inside the page.
  3. 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


📜 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)?