Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

frontity-contact-form-7

0.1.7 • Public • Published

Frontity Contact Form 7 🎨

🔥 Contact Form 7 package for Frontity.

*** PLEASE STAR MY REPO TO SUPPORT OUR WORK 🙏 **

Please follow me 🙏 on twitter and github

📹 Video Tutorial

Video

📹 Demo CF7 Form

📹 Demo CF7 Form Email received

Below is the screentshot taken with Frontity mars theme with some added styles. The styles may look different for your Frontity theme.

How does it work?

  1. You need to create a page in your WordPress site (if you don't already have one) that contains a CF7 shortcode.
  2. Install the Frontity Contact Form 7 package as shown in the Installation steps below.
  3. Visit that page in Frontity and the package will automatically render all the CF7 forms that are present, including other content on the page.
  4. On successful form submission, the email goes to the admin (if CF7 email settings are configured on your WordPress site). Errors are shown as well if the fields are invalid.

It uses html processors to render the CF7 form.

Features

  1. All the CF7 forms on the page will work.
  2. You can also use it for multiple pages.
  3. Built with React and Frontity, so its fast and performant.

Installation 🔧

  1. Do npm install frontity-contact-form-7 in the root of your project.
  2. Add the package name in frontity-settings.js.
"packages": [
  "frontity-contact-form-7"
  // other packages ...
]
  1. 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.

More info 📋

This is the beta version. Some features will be added in the final release, like:

  1. Support for all the fields.

Contribute to the package

If you want to contribute to the package, you can do so following these simple steps:

  1. Fork this repository (https://github.com/imranhsayed/frontity-contact-form-7).
  2. Clone it in your local machine.
  3. Run npm install.
  4. Run npx frontity dev.
  5. Do the changes to the code.
  6. 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.

Credits 💮

Authors

  1. Imran Sayed
  2. Smit Patadiya

Contributors

  1. Luis Herranz - Leed Developer @frontity

License 📜

License: GPL v2

Install

npm i frontity-contact-form-7

DownloadsWeekly Downloads

71

Version

0.1.7

License

GNU GPL 2

Unpacked Size

21.4 kB

Total Files

18

Homepage

codeytek.com

Last publish

Collaborators

  • avatar
  • avatar