{"id":90968,"date":"2018-09-08T04:15:53","date_gmt":"2018-09-08T04:15:53","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/contact-form-7-gated-content\/"},"modified":"2025-02-19T21:08:27","modified_gmt":"2025-02-19T21:08:27","slug":"cf7-gated-content","status":"publish","type":"plugin","link":"https:\/\/twd.wordpress.org\/plugins\/cf7-gated-content\/","author":11811837,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.5.0","stable_tag":"1.5.0","tested":"6.7.5","requires":"4.5","requires_php":"5.6","requires_plugins":null,"header_name":"Contact Form 7 Gated Content","header_author":"Apsis Labs","header_description":"An add-on for Contact Form 7 that allows you to gate content behind form submission","assets_banners_color":"cbc3ab","last_updated":"2025-02-19 21:08:27","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"","header_author_uri":"http:\/\/apsis.io","rating":5,"author_block_rating":0,"active_installs":800,"downloads":17537,"num_ratings":3,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.9":{"tag":"1.0.9","author":"odisant","date":"2018-09-26 20:53:02"},"1.1.0":{"tag":"1.1.0","author":"odisant","date":"2019-02-15 01:43:12"},"1.2.0":{"tag":"1.2.0","author":"odisant","date":"2019-04-16 23:03:57"},"1.3.1":{"tag":"1.3.1","author":"odisant","date":"2019-04-30 17:31:39"},"1.4.0":{"tag":"1.4.0","author":"odisant","date":"2019-07-22 17:54:19"},"1.4.1":{"tag":"1.4.1","author":"odisant","date":"2019-07-23 19:56:06"},"1.4.2":{"tag":"1.4.2","author":"odisant","date":"2019-07-23 23:59:55"},"1.4.3":{"tag":"1.4.3","author":"odisant","date":"2019-08-13 21:45:25"},"1.4.4":{"tag":"1.4.4","author":"odisant","date":"2020-05-21 21:25:01"},"1.5.0":{"tag":"1.5.0","author":"odisant","date":"2025-02-19 21:08:27"},"trunk":{"tag":"trunk","author":"odisant","date":"2018-09-08 04:10:58"}},"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":3},"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":1947657,"resolution":"128x128","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":1947657,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.9","1.1.0","1.2.0","1.3.1","1.4.0","1.4.1","1.4.2","1.4.3","1.4.4","1.5.0","trunk"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2030180,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2030180,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2030180,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2030180,"resolution":"4","location":"assets","locale":""}},"screenshots":{"1":"Options Panel","2":"Before Submission","3":"After Submission","4":"Repeat Visit"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[5445,358,1152,361,11644],"plugin_category":[42],"plugin_contributors":[161558],"plugin_business_model":[],"class_list":["post-90968","plugin","type-plugin","status-publish","hentry","plugin_tags-cf7","plugin_tags-contact-form","plugin_tags-contact-form-7","plugin_tags-form","plugin_tags-gated-content","plugin_category-contact-forms","plugin_contributors-odisant","plugin_committers-odisant","plugin_support_reps-odisant"],"banners":{"banner":"https:\/\/ps.w.org\/cf7-gated-content\/assets\/banner-772x250.jpg?rev=1947657","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/cf7-gated-content\/assets\/icon-128x128.jpg?rev=1947657","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/cf7-gated-content\/assets\/screenshot-1.png?rev=2030180","caption":"Options Panel"},{"src":"https:\/\/ps.w.org\/cf7-gated-content\/assets\/screenshot-2.png?rev=2030180","caption":"Before Submission"},{"src":"https:\/\/ps.w.org\/cf7-gated-content\/assets\/screenshot-3.png?rev=2030180","caption":"After Submission"},{"src":"https:\/\/ps.w.org\/cf7-gated-content\/assets\/screenshot-4.png?rev=2030180","caption":"Repeat Visit"}],"raw_content":"<!--section=description-->\n<p>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.<\/p>\n\n<p><strong>Image Credit:<\/strong> Uehara, Konen, Artist. Secch\u016b Mimeguri. Japan, None. [Between 1900 and 1920] Photograph. https:\/\/www.loc.gov\/item\/2008660511\/.<\/p>\n\n<h3>Supported Versions<\/h3>\n\n<p>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.<\/p>\n\n<h3>Issues?<\/h3>\n\n<p>If you're experiencing an issue with the plugin, please file an issue on our <a href=\"https:\/\/github.com\/apsislabs\/cf7-gated-content\/issues\">GitHub<\/a>.<\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Upload the contents of <code>\/contact-form-7-gated-content\/<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the <em>Contact Form 7 Gated Content<\/em> Plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20kinds%20of%20files%20can%20i%20gate%3F'><h3>What kinds of files can I gate?<\/h3><\/dt>\n<dd><p>Anything that can be uploaded to the WordPress media library.<\/p><\/dd>\n<dt id='can%20the%20download%20button%20be%20customized%3F'><h3>Can the download button be customized?<\/h3><\/dt>\n<dd><p>Yes! You can customize the output of the download box with CSS, or you can add this snippet to your theme\\'s <code>functions.php<\/code> file:<\/p>\n\n<pre><code>function my_content_button($url, $button_text, $button_classes, $content)\n{\n  return \"$button_text\";\n}\n\nadd_filter('wpcf7_gated_content_button', 'my_content_button', 10, 3);\n<\/code><\/pre><\/dd>\n<dt id='can%20i%20disable%20the%20default%20css%3F'><h3>Can I disable the default CSS?<\/h3><\/dt>\n<dd><p>Yes! The default CSS can be disabled on a per-form basis.<\/p><\/dd>\n<dt id='does%20this%20secure%20my%20files%3F'><h3>Does this secure my files?<\/h3><\/dt>\n<dd><p><strong>No!<\/strong> 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.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<ul>\n<li>1.0.8 Add art assets<\/li>\n<li>1.0.1 Fix deployment issues<\/li>\n<li>1.0.0 Initial release<\/li>\n<li>1.2.0 Fix issue with multiple download buttons<\/li>\n<li>1.3.0 Fix issue with breaking other shortcodes<\/li>\n<li>1.4.0 Added option for setting download target; fix bug where we always show download button; add option to disable download button<\/li>\n<li>1.4.1 Fix bug with default option for enabling forms set to false<\/li>\n<\/ul>","raw_excerpt":"Gate files behind your Contact Form 7 forms.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/90968","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=90968"}],"author":[{"embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/odisant"}],"wp:attachment":[{"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=90968"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=90968"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=90968"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=90968"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=90968"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/twd.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=90968"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}