WP Manifestindependent plugin directory
manifest / forms / tghp-mb-contact

TGHP Metabox Contact

Utilise MB Frontend Submission for contact forms

by TGHP · github.com/tghp/tghp-mb-contact

0stars
37composer installs
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/tghp/tghp-mb-contact/archive/refs/heads/master.zip

Also on Packagist as tghp/tghp-mb-contact:

composer require tghp/tghp-mb-contact

From the readme

TGHP MB Contact Re-usable plugin using metabox.io and MB Frontend Submission to provide code-powerable and extensible forms. Forms are defined as in with metabox, with some extra features added. Extra Metabox Parameters options Key | Value --- | --- deleteafterprocessing | After all hooks are fired, delete the post. Useful for facilitating transient submissions utilising an integration and with no desire to store locally (e.g. newsletter subscriptions).Post will not be deleted in any case if tghpcontactdonotdelete metafield has a value of '1'. This can be used to prevent this deletion in case of a failure. email-email | Email address to send submisions to email-title | Title of the form redirect | URL to redirect to after submission class | Extra CSS classes to add to the form wrapper element buttonclass | Extra CSS classes to add to buttons submitclass | Extra CSS classes to add to the submit button submittextsronly | Wrap submit button in a .sr-only span ajax | Boolean. Enable AJAX for instances of the form confirmation | Confirmation message Extra Metabox Field Parameters Key | Value --- | --- email | Boolean. Whether the field is added to the generated email Shortcode [tg

Read the full README on GitHub →