A WordPress plugin that provides a contact form with admin panel and REST API functionality.
- Custom contact form with name, email, subject, and message fields
- Admin panel to manage form submissions
- REST API endpoints for form submission
- Secure form handling and validation
- Database storage for submissions
- Download the plugin files
- Upload the
contact-form-pluginfolder to the/wp-content/plugins/directory - Activate the plugin through the 'Plugins' menu in WordPress
- Go to the plugin settings page to configure the form
Use the following shortcode to display the contact form on any page or post:
[contact_form]
- Endpoint:
/wp-json/contact-form/v1/messages
Note: To access the REST API endpoints, you need to install and activate the "Basic Authentication" plugin for WordPress. This plugin enables HTTP Basic Authentication for the WordPress REST API, allowing external applications to authenticate and access the API endpoints.
You can install the Basic Auth plugin from:
- download from: https://github.com/WP-API/Basic-Auth.git
After installing Basic Auth, you can authenticate API requests using your WordPress username and password.
- WordPress 5.0 or higher
- PHP 7.2 or higher
- Basic Authentication plugin (for REST API access)
Yegane Norouzi
For support, please create an issue in the GitHub repository.