{"id":343586,"date":"2026-07-24T16:56:43","date_gmt":"2026-07-24T16:56:43","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/leadgate\/"},"modified":"2026-07-24T17:53:43","modified_gmt":"2026-07-24T17:53:43","slug":"templatesell-gated-downloads","status":"publish","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/templatesell-gated-downloads\/","author":14952961,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0.0","stable_tag":"1.0.0","tested":"7.0.2","requires":"6.2","requires_php":"7.4","requires_plugins":null,"header_name":"TemplateSell Gated Downloads","header_author":"TemplateSell","header_description":"Gate any download behind a lead-capture form. Collect name, email & phone, then deliver the file \u2014 accessible, translatable, and compatible with any theme.","assets_banners_color":"11192e","last_updated":"2026-07-24 17:53:43","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/templatesell.net\/gated-downloads\/","header_author_uri":"https:\/\/templatesell.net\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":54,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.0":{"tag":"1.0.0","author":"templatesell","date":"2026-07-24 17:53:43"}},"upgrade_notice":{"1.0.0":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3621680,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3621680,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3621759,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3621759,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3621680,"resolution":"1","location":"assets","locale":"","width":2400,"height":1640},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3621680,"resolution":"2","location":"assets","locale":"","width":2400,"height":1640},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3621759,"resolution":"3","location":"assets","locale":"","width":2400,"height":1120},"screenshot-4.png":{"filename":"screenshot-4.png","revision":3621680,"resolution":"4","location":"assets","locale":"","width":2400,"height":1120}},"screenshots":{"1":"The download button on the front end","2":"The lead-capture pop-up form","3":"Managing gated files in the admin","4":"The leads dashboard with CSV export"}},"plugin_section":[],"plugin_tags":[246282,568,267,11463,463],"plugin_category":[41],"plugin_contributors":[192103],"plugin_business_model":[],"class_list":["post-343586","plugin","type-plugin","status-publish","hentry","plugin_tags-content-gate","plugin_tags-download","plugin_tags-email","plugin_tags-lead-capture","plugin_tags-opt-in","plugin_category-communication","plugin_contributors-templatesell","plugin_committers-templatesell"],"banners":{"banner":"https:\/\/ps.w.org\/templatesell-gated-downloads\/assets\/banner-772x250.png?rev=3621759","banner_2x":"https:\/\/ps.w.org\/templatesell-gated-downloads\/assets\/banner-1544x500.png?rev=3621759","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/templatesell-gated-downloads\/assets\/icon-128x128.png?rev=3621680","icon_2x":"https:\/\/ps.w.org\/templatesell-gated-downloads\/assets\/icon-256x256.png?rev=3621680","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/templatesell-gated-downloads\/assets\/screenshot-1.png?rev=3621680","caption":"The download button on the front end"},{"src":"https:\/\/ps.w.org\/templatesell-gated-downloads\/assets\/screenshot-2.png?rev=3621680","caption":"The lead-capture pop-up form"},{"src":"https:\/\/ps.w.org\/templatesell-gated-downloads\/assets\/screenshot-3.png?rev=3621759","caption":"Managing gated files in the admin"},{"src":"https:\/\/ps.w.org\/templatesell-gated-downloads\/assets\/screenshot-4.png?rev=3621680","caption":"The leads dashboard with CSV export"}],"raw_content":"<!--section=description-->\n<p>TemplateSell Gated Downloads turns any download into a lead. Place a download button anywhere with a shortcode or block; when a visitor clicks it, an accessible pop-up form asks for their details. After they submit, the lead is saved to your site and the file is delivered.<\/p>\n\n<p>Common use cases include ebooks, whitepapers, checklists, brochures, price lists, media kits, and any other file you want to exchange for a contact.<\/p>\n\n<h4>Key features<\/h4>\n\n<ul>\n<li>Gate unlimited downloads of any file type \u2014 PDF, Word, Excel, CSV, PowerPoint, ZIP, images, audio, video, and more (upload to the Media Library or link an external URL)<\/li>\n<li>Per-form configuration \u2014 every gated file has its own unique shortcode, fields, messages, and notification<\/li>\n<li>Choose, reorder, and require fields per form \u2014 Name, Email, Phone, Company, Job Title, Website, Country (drag to reorder)<\/li>\n<li>Per-form success message, submit button text, and optional redirect URL after submit<\/li>\n<li>Lightweight, accessible pop-up form (focus-trapped, keyboard &amp; screen-reader friendly)<\/li>\n<li>Configurable fields \u2014 show\/hide and require each field independently<\/li>\n<li>User-defined categories to organize your files<\/li>\n<li>Brand colors \u2014 match the button, links, and modal header to your site<\/li>\n<li>Shortcode and Gutenberg block (with a copy-ready Shortcode column in the files list)<\/li>\n<li>Leads dashboard with CSV export<\/li>\n<li>Admin email notification on each new lead<\/li>\n<li>GDPR-friendly: optional consent checkbox, data stays in your database, export\/erase support<\/li>\n<li>Works with any theme \u2014 the modal renders at the page root, immune to theme layout conflicts<\/li>\n<li>Fully translatable (text domain: templatesell-gated-downloads)<\/li>\n<li>No external services, no tracking, no data sent anywhere<\/li>\n<\/ul>\n\n<h4>How to use<\/h4>\n\n<ol>\n<li>Go to Gated Downloads \u2192 Add New Gated File.<\/li>\n<li>Upload a file (or paste an external file URL) and set the button label.<\/li>\n<li>Optionally open the \"Form Fields &amp; Behavior\" box to pick which fields this form asks for, reorder them, mark which are required, and set the success message, button text, or a redirect URL.<\/li>\n<li>Copy the shortcode shown in the files list, for example <code>[tslgd_download id=\"123\"]<\/code>, and paste it into any post or page. The shorter <code>[tslgd id=\"123\"]<\/code> does the same thing, as does the Gutenberg block.<\/li>\n<li>Read the captured leads under Gated Downloads \u2192 Leads, and export them as CSV.<\/li>\n<\/ol>\n\n<h4>Gated Downloads Pro<\/h4>\n\n<p>A separate paid add-on, Gated Downloads Pro, is available from <a href=\"https:\/\/templatesell.net\/gated-downloads\/\">templatesell.net<\/a>. It adds custom field types, email-marketing integrations (Mailchimp, Brevo), webhooks, autoresponders, protected and expiring download links, and reCAPTCHA v3 spam protection. The free plugin here is fully functional on its own and does not require the add-on.<\/p>\n\n<h3>Privacy<\/h3>\n\n<p>This plugin collects the information a visitor enters in the capture form (such as name, email address, and phone number) and stores it in your site's database. This data is not transmitted to any third party. As the site owner you are responsible for disclosing this collection to your visitors in accordance with applicable laws (e.g. GDPR). The plugin registers WordPress personal-data exporter and eraser hooks so you can fulfill data requests.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>templatesell-gated-downloads<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install via Plugins \u2192 Add New.<\/li>\n<li>Activate the plugin through the Plugins menu.<\/li>\n<li>Go to Gated Downloads \u2192 Add New Gated File and add your first file (upload or URL) and category.<\/li>\n<li>Copy the shortcode (or insert the Gated Downloads block) into any post or page.<\/li>\n<li>View captured leads under Gated Downloads \u2192 Leads.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id=\"what%20file%20types%20are%20supported%3F\"><h3>What file types are supported?<\/h3><\/dt>\n<dd><p>Every file type is supported \u2014 there is no restriction. That includes PDF, Word (DOC\/DOCX), Excel (XLS\/XLSX), CSV, PowerPoint (PPT\/PPTX), ZIP and other archives, images (PNG, JPG, GIF, SVG, WebP), audio (MP3, WAV), and video (MP4). You can either upload the file to the WordPress Media Library, or paste any direct file URL (for example a file hosted on cloud storage). If a browser can download it, you can gate it.<\/p><\/dd>\n<dt id=\"where%20is%20lead%20data%20stored%3F\"><h3>Where is lead data stored?<\/h3><\/dt>\n<dd><p>In a custom table in your WordPress database. Nothing is sent to any third party.<\/p><\/dd>\n<dt id=\"can%20i%20export%20my%20leads%3F\"><h3>Can I export my leads?<\/h3><\/dt>\n<dd><p>Yes \u2014 Gated Downloads \u2192 Leads includes a CSV export.<\/p><\/dd>\n<dt id=\"can%20each%20form%20ask%20for%20different%20fields%3F\"><h3>Can each form ask for different fields?<\/h3><\/dt>\n<dd><p>Yes. Open the \"Form Fields &amp; Behavior\" box on any gated file to choose which fields that form shows, drag them into the order you want, and mark each one required or optional. Forms you do not configure use the global defaults from the settings page.<\/p><\/dd>\n<dt id=\"will%20it%20work%20with%20my%20theme%3F\"><h3>Will it work with my theme?<\/h3><\/dt>\n<dd><p>Yes. The pop-up is rendered at the root of the page, so theme wrappers with overflow or z-index rules cannot break it.<\/p><\/dd>\n<dt id=\"is%20it%20accessible%3F\"><h3>Is it accessible?<\/h3><\/dt>\n<dd><p>Yes. The modal uses proper ARIA roles, traps focus while open, closes on Escape, and returns focus to the trigger.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.0<\/h4>\n\n<ul>\n<li>Initial release.<\/li>\n<\/ul>","raw_excerpt":"Gate any download behind a lead-capture form. Collect name, email &amp; phone, then deliver the file. Accessible, translatable, works with any theme.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/343586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=343586"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/templatesell"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=343586"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=343586"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=343586"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=343586"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=343586"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=343586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}