Contact Form 7 package for Frontity.
- You need to create a page in your WordPress site (if you don't already have one) that contains a CF7 shortcode or Gutenberg block.
- Install the Frontity Contact Form 7 package as shown in the Installation steps below.
- Visit that page in Frontity and the package will automatically render all the CF7 forms that are present, including other content on the page.
- On successful form submission, the email goes to the recipient set in the form settings in WP (if CF7 email settings are configured on your WordPress site). Errors are shown as well if the fields are invalid.
- All the CF7 forms on the page will work.
- You can also use it for multiple pages.
- Built with React and Frontity, so its fast and performant.
- Do
npm install @aamodtgroup/frontity-contact-form-7
in the root of your project. - Add the package name in
frontity-settings.js
.
"packages": [
"@aamodtgroup/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.
- Build with love 💙, using Frontity
- Luis Herranz - Leed Developer @frontity
- Kasper Aamodt - Owner and developer @aamodtgroup