Title: Contact Form 7 Gated Content
Author: Wyatt Kirby
Published: <strong>September 8, 2018</strong>
Last modified: February 19, 2025

---

Search plugins

![](https://ps.w.org/cf7-gated-content/assets/banner-772x250.jpg?rev=1947657)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/cf7-gated-content/assets/icon-128x128.jpg?rev=1947657)

# Contact Form 7 Gated Content

 By [Wyatt Kirby](https://profiles.wordpress.org/odisant/)

[Download](https://downloads.wordpress.org/plugin/cf7-gated-content.1.5.0.zip)

 * [Details](https://srd.wordpress.org/plugins/cf7-gated-content/#description)
 * [Reviews](https://srd.wordpress.org/plugins/cf7-gated-content/#reviews)
 *  [Installation](https://srd.wordpress.org/plugins/cf7-gated-content/#installation)
 * [Development](https://srd.wordpress.org/plugins/cf7-gated-content/#developers)

 [Support](https://wordpress.org/support/plugin/cf7-gated-content/)

## Description

Contact Form 7 Gated Content is a lead-capture extension for Contact Form 7. This
plugin adds options to your CF7 forms to gate access to a file so users don’t see
a download button until after the form has been successfully submitted. Repeat visitors
will be presented with the download button only, so repeat form submissions are 
not required.

**Image Credit:** Uehara, Konen, Artist. Secchū Mimeguri. Japan, None. [Between 
1900 and 1920] Photograph. https://www.loc.gov/item/2008660511/.

### Supported Versions

We support and test against CF7 versions 5.2, and 6.0. Earlier or later versions
may not behave as expected. If you need support for a version before 5.2, download
and install version 1.4.4 or earlier of CF7 Gated Content.

### Issues?

If you’re experiencing an issue with the plugin, please file an issue on our [GitHub](https://github.com/apsislabs/cf7-gated-content/issues).

## Screenshots

[⌊Options Panel⌉⌊Options Panel⌉[

Options Panel

[⌊Before Submission⌉⌊Before Submission⌉[

Before Submission

[⌊After Submission⌉⌊After Submission⌉[

After Submission

[⌊Repeat Visit⌉⌊Repeat Visit⌉[

Repeat Visit

## Installation

This section describes how to install the plugin and get it working.

 1. Upload the contents of `/contact-form-7-gated-content/` to the `/wp-content/plugins/`
    directory
 2. Activate the _Contact Form 7 Gated Content_ Plugin through the ‘Plugins’ menu in
    WordPress

## FAQ

### What kinds of files can I gate?

Anything that can be uploaded to the WordPress media library.

### Can the download button be customized?

Yes! You can customize the output of the download box with CSS, or you can add this
snippet to your theme\’s `functions.php` file:

    ```
    function my_content_button($url, $button_text, $button_classes, $content)
    {
      return "$button_text";
    }

    add_filter('wpcf7_gated_content_button', 'my_content_button', 10, 3);
    ```

### Can I disable the default CSS?

Yes! The default CSS can be disabled on a per-form basis.

### Does this secure my files?

**No!** Gating content does not secure it from outside access. While it does restrict
visibility of a download link to those who have completed your form, it does nothing
to make the file private. Anyone with the attachment link or a properly formatted
cookie will be able to access your file.

## Reviews

![](https://secure.gravatar.com/avatar/bef42f4e492576aaa7a439420ff1c232a1e2afe0d7793809dee10d727fb9abb2?
s=60&d=retro&r=g)

### 󠀁[Simple and easy](https://wordpress.org/support/topic/simple-and-easy-527/)󠁿

 [Zetona](https://profiles.wordpress.org/zetona/) April 27, 2025

Thank you very much, it does exactly what i was looking for. Would be great to have
an option to add an external link like Dropbox instead of a media library file.

![](https://secure.gravatar.com/avatar/60271631b410b97d38b42c249506217a18e05dba29d23e8dd7a7cf35be81f46f?
s=60&d=retro&r=g)

### 󠀁[Great Plugin and quick support](https://wordpress.org/support/topic/great-plugin-and-quick-support-22/)󠁿

 [jennifinch1](https://profiles.wordpress.org/jennifinch1/) July 14, 2020

Does exactly what I need and great support

![](https://secure.gravatar.com/avatar/2a2020ce348b636f09a1726b64920e590bb345434c6190f92963a946d71e3e5b?
s=60&d=retro&r=g)

### 󠀁[Looks Cool; Breaks Site](https://wordpress.org/support/topic/looks-cool-breaks-site/)󠁿

 [Erich](https://profiles.wordpress.org/erichboileau/) April 18, 2019 6 replies

Looks like a cool plugin, but breaks my site. – WP 5.1.1 – Divi 3.22.1 I can update
the review if the bug gets fixed! Thank you. Edit: Bug now fixed.

 [ Read all 3 reviews ](https://wordpress.org/support/plugin/cf7-gated-content/reviews/)

## Contributors & Developers

“Contact Form 7 Gated Content” is open source software. The following people have
contributed to this plugin.

Contributors

 *   [ Wyatt Kirby ](https://profiles.wordpress.org/odisant/)

[Translate “Contact Form 7 Gated Content” into your language.](https://translate.wordpress.org/projects/wp-plugins/cf7-gated-content)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cf7-gated-content/),
check out the [SVN repository](https://plugins.svn.wordpress.org/cf7-gated-content/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cf7-gated-content/)
by [RSS](https://plugins.trac.wordpress.org/log/cf7-gated-content/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

 * 1.0.8 Add art assets
 * 1.0.1 Fix deployment issues
 * 1.0.0 Initial release
 * 1.2.0 Fix issue with multiple download buttons
 * 1.3.0 Fix issue with breaking other shortcodes
 * 1.4.0 Added option for setting download target; fix bug where we always show 
   download button; add option to disable download button
 * 1.4.1 Fix bug with default option for enabling forms set to false

## Meta

 *  Version **1.5.0**
 *  Last updated **2 years ago**
 *  Active installations **700+**
 *  WordPress version ** 4.5 or higher **
 *  Tested up to **6.7.10**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/cf7-gated-content/)
 * Tags
 * [cf7](https://srd.wordpress.org/plugins/tags/cf7/)[contact form](https://srd.wordpress.org/plugins/tags/contact-form/)
   [contact form 7](https://srd.wordpress.org/plugins/tags/contact-form-7/)[form](https://srd.wordpress.org/plugins/tags/form/)
   [gated content](https://srd.wordpress.org/plugins/tags/gated-content/)
 *  [Advanced View](https://srd.wordpress.org/plugins/cf7-gated-content/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  3 5-star reviews     ](https://wordpress.org/support/plugin/cf7-gated-content/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cf7-gated-content/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/cf7-gated-content/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cf7-gated-content/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/cf7-gated-content/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cf7-gated-content/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cf7-gated-content/reviews/)

## Contributors

 *   [ Wyatt Kirby ](https://profiles.wordpress.org/odisant/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cf7-gated-content/)