GithubHelp home page GithubHelp logo

gravity-forms-protected-downloads's Introduction

Gravity Forms Protected Downloads

This Plugin is under active development and not yet functional

Overview

Add gated content downloads, requiring users to complete a Gravity Form to trigger downloads. Displays a download button that opens a modal form required for completing the download. A "Download" post type is included with the plugin, with a file field for selecting PDFs or other gated content downloads.

Installation - WP Directory Download

  1. Upload the plugin directory to the wp-content/plugins/ directory
  2. Activate the plugin through the Plugins menu in WordPress

Installation - Git Clone

  1. Clone the repository to your site plugins directory
  2. Run composer install
  3. Activate the plugin through the Plugins menu in WordPress

Usage

  1. Add or choose an existing required Gravity Form for users to complete. Downloads can be configured to use any existing form, so different downloads may have different required forms.
  2. Optionally, add a field to the form to store the download that the user is requesting.
  3. Add a download post, and add a file from your media library using the included file custom field.
  4. To add a download button, insert the shortcode manually, or use the "Add Download" button above the content editor to configure a shortcode.

Filters

  • Post Type Arguments: gfpd_posttype_args($args)
    Customize the Download post type labels and arguments. See the WordPress documentation for more information, or view the arguments under app/WPData/RegisterPostTypes.php
  • Media Button Text: gfpd_media_button_text($text)
    Customize the text in the media button above the WordPress content editor.
  • Shortcode Builder Modal Header Text: gfpd_media_button_modal_text($text)
    Customize the modal window title in the shortcode builder (accessed by clicking the media button)

gravity-forms-protected-downloads's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

deckerweb

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.