We’re happy to announce that Imran Sayed and Smit Patadiya have released a new package for Frontity that adds support for the popular Contact Form 7 WordPress plugin.
By default, the Contact Form 7 plugin adds a number of fields to new forms, including name, email, subject, message and send. These fields are all included in this pre-release and a few extra will be supported in the final release.
Useful resources:
- npm package
- GitHub repo
- Video tutorial by Imran Sayed
Installation guide
- Do
npm install frontity-contact-form-7
in the root of your project. - Add the package name in
frontity-settings.js
.
"packages": [
"frontity-contact-form-7"
// other packages ...
]
- Run
npx frontity dev
again.
That’s it! The package doesn’t need any settings. You should be able to see the form in any page or post that contains one.
How to contribute
If you want to contribute to the package, you can do so by following these steps:
- Fork this repository
- Clone it in your local machine
- Run
npm install
- Run
npx frontity dev
- Do the changes to the code
- Submit the pull request!
You can change the state.source.api
setting on the frontity.settings.js
file to point the project to your own WordPress if you want but please do not include those changes in your PR.
A big thank you to @imranhsayed and @smit.soni22 for this contribution to the project!