WP Manifestindependent plugin directory
manifest / forms / wp-secure-contact-form

WP Secure Contact Form

A modern, accessible, and secure WordPress contact form plugin with toast notifications, custom styling, and robust spam and security protection. Easy to use, fully customizable, and ideal for any WordPress site.

★ 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/katefordwebdeveloper/wp-secure-contact-form/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.

A modern, accessible, and secure WordPress contact form plugin with toast notifications and custom styling.

Features

  • Choose which fields to display: Name, Email, Subject, Message
  • Admin settings page for easy configuration
  • Toast notifications for success and error messages
  • Accessible and keyboard-friendly
  • Stylish, responsive, and customizable CSS

Security Highlights

  • Nonce protection to prevent CSRF attacks
  • Strict input sanitization and validation for all fields
  • Admin-only access to plugin settings
  • Secure email handling with safe headers

Installation

  1. Upload the wp-secure-contact-form folder to your WordPress /wp-content/plugins/ directory.
  2. Activate the plugin from the WordPress admin dashboard.
  3. Go to Settings > Secure Contact Form to configure fields and recipient email.
  4. Use the [wp_secure_contact_form] shortcode to display the form on any page or post.

Usage

Add the following shortcode to any page or post:

[wp_secure_contact_form]

Screenshots

Contact Form (all fields enabled):
Contact Form

Settings Page:
Settings Page

Success Message:
Success Message

Error Message – Invalid Email Format:
Email Format Error

Error Message – Message Field Required:
Message Field Error

Mailtrap Email Example:
Mailtrap Email

Customization

  • Edit wp-secure-contact-form.css to change the form and toast styles.
  • Edit wp-secure-contact-form.php for advanced customization.

License

GPL2


View the full source code and more screenshots:
https://github.com/katefordwebdeveloper/wp-secure-contact-form