TemplateSell Gated Downloads

Description

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.

Common use cases include ebooks, whitepapers, checklists, brochures, price lists, media kits, and any other file you want to exchange for a contact.

Key features

  • Gate unlimited downloads of any file type — PDF, Word, Excel, CSV, PowerPoint, ZIP, images, audio, video, and more (upload to the Media Library or link an external URL)
  • Per-form configuration — every gated file has its own unique shortcode, fields, messages, and notification
  • Choose, reorder, and require fields per form — Name, Email, Phone, Company, Job Title, Website, Country (drag to reorder)
  • Per-form success message, submit button text, and optional redirect URL after submit
  • Lightweight, accessible pop-up form (focus-trapped, keyboard & screen-reader friendly)
  • Configurable fields — show/hide and require each field independently
  • User-defined categories to organize your files
  • Brand colors — match the button, links, and modal header to your site
  • Shortcode and Gutenberg block (with a copy-ready Shortcode column in the files list)
  • Leads dashboard with CSV export
  • Admin email notification on each new lead
  • GDPR-friendly: optional consent checkbox, data stays in your database, export/erase support
  • Works with any theme — the modal renders at the page root, immune to theme layout conflicts
  • Fully translatable (text domain: templatesell-gated-downloads)
  • No external services, no tracking, no data sent anywhere

How to use

  1. Go to Gated Downloads Add New Gated File.
  2. Upload a file (or paste an external file URL) and set the button label.
  3. Optionally open the “Form Fields & 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.
  4. Copy the shortcode shown in the files list, for example [tslgd_download id="123"], and paste it into any post or page. The shorter [tslgd id="123"] does the same thing, as does the Gutenberg block.
  5. Read the captured leads under Gated Downloads Leads, and export them as CSV.

Gated Downloads Pro

A separate paid add-on, Gated Downloads Pro, is available from templatesell.net. 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.

Privacy

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.

Screenshots

Installation

  1. Upload the templatesell-gated-downloads folder to /wp-content/plugins/, or install via Plugins Add New.
  2. Activate the plugin through the Plugins menu.
  3. Go to Gated Downloads Add New Gated File and add your first file (upload or URL) and category.
  4. Copy the shortcode (or insert the Gated Downloads block) into any post or page.
  5. View captured leads under Gated Downloads Leads.

FAQ

What file types are supported?

Every file type is supported — 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.

Where is lead data stored?

In a custom table in your WordPress database. Nothing is sent to any third party.

Can I export my leads?

Yes — Gated Downloads Leads includes a CSV export.

Can each form ask for different fields?

Yes. Open the “Form Fields & 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.

Will it work with my theme?

Yes. The pop-up is rendered at the root of the page, so theme wrappers with overflow or z-index rules cannot break it.

Is it accessible?

Yes. The modal uses proper ARIA roles, traps focus while open, closes on Escape, and returns focus to the trigger.

Reviews

There are no reviews for this plugin.

Contributors & Developers

“TemplateSell Gated Downloads” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

1.0.0

  • Initial release.