New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

frontity-contact-form-7

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

frontity-contact-form-7

Contact Form 7 extension for Frontity theme.

  • 0.1.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-16.67%
Maintainers
1
Weekly downloads
 
Created
Source

Frontity Contact Form 7 Project :art:

:fire: Contact Form 7 extension for Frontity theme.

How does it work?

You need to create a page in your WordPress site ( if you don't already have one ) that contains the CF7 shortcode. Install the package as shown in the Installation steps below. Then put that WordPress page name, the slug and the package name in the frontity-settings.js as explained below. The Frontity page will automatically render all the CF7 forms that are present on that page including the content of the page. 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 CF7 forms on the page will display
  2. You can also use it for multiple pages.
  3. Built with React Frontity in React, so its fast and performant.

Installation :wrench:

1. For new project: by cloning this project.

  1. git clone https://github.com/imranhsayed/frontity-contact-form-7

  2. cd frontity-contact-form-7

  3. npm install && npx frontity dev ( from the project's root directory )

  4. Your site will now be available at http://localhost:3000/

2. For new/existing project using npm

Please follow step 1 to 5 for new project and 2 to 5 for existing project.

  1. npx frontity create my-app && cd my-app
  2. npm install frontity-contact-form-7 ( in the root of your project )
  3. In the frontity-settings.js a. Add the package name
  "packages": [
    {
      "frontity-contact-form-7",

b. Add Contact form 7 page name and slug as what you have on your WordPress site. For example

        "theme": {
          "menu": [
            [
              "Contact Form 7",
              "/cf7"
            ],

c. Update your WordPress API URI if not added already.

     "state": {
       "source": {
         "api": "https://your-wordpress-site.com/wp-json"
       }
  1. npx frontity dev ( from project's root directory )
  2. Your site will be available at http://localhost:3000/

More info :clipboard:

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

  1. More button smaller screens.

Common Commands :computer:

  • npx frontity dev ( inside project's root ) Runs server in development mode ( from the root of your project )

Credits :white_flower:

  • Build with love :blue_heart:, using Frontity's

Author

  1. Imran Sayed
  2. Smit Patadiya

License :scroll:

License: GPL v2

Keywords

FAQs

Package last updated on 30 Oct 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc