Skip to content

imranhsayed/frontity-contact-form-7

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Frontity Contact Form 7 ๐ŸŽจ

Project Status: Active. Stars Forks Contributors Download counter

๐Ÿ”ฅ 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

About

๐Ÿ”ฅ Contact Form 7 extension for Frontity theme.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published