{"id":1817,"date":"2026-07-26T05:28:09","date_gmt":"2026-07-26T05:28:09","guid":{"rendered":"https:\/\/templatesell.com\/blog\/?p=1817"},"modified":"2026-07-26T07:25:39","modified_gmt":"2026-07-26T07:25:39","slug":"how-to-gate-downloads-wordpress","status":"publish","type":"post","link":"https:\/\/templatesell.com\/blog\/how-to-gate-downloads-wordpress\/","title":{"rendered":"How to Gate a Download in WordPress and Actually Capture the Lead"},"content":{"rendered":"\n<!doctype html>\n<!--\n  ===================================================================\n  BLOG POST 1  \u00b7  TemplateSell Gated Downloads\n  Title:        How to Gate a Download in WordPress and Actually Capture the Lead\n  Slug:         how-to-gate-downloads-wordpress\n  Focus keyphrase: gate downloads in WordPress\n  Meta desc:    Put any PDF or file behind a lead-capture form in WordPress \u2014 no code. Here's how to collect a name and email before the download, step by step.\n  Tags:         gated downloads, WordPress lead capture, content locker, lead generation, email opt-in, lead magnet\n  Featured img: blog-post-1.png (alt: How to gate a download in WordPress and capture the lead)\n  To use in WordPress: set featured image, then paste the <article> content below into the code editor.\n  ===================================================================\n-->\n<html lang=\"en\">\n<head>\n<meta charset=\"utf-8\">\n<meta name=\"viewport\" content=\"width=device-width,initial-scale=1\">\n<title>How to Gate a Download in WordPress and Actually Capture the Lead<\/title>\n<meta name=\"description\" content=\"Put any PDF or file behind a lead-capture form in WordPress \u2014 no code. Here's how to collect a name and email before the download, step by step.\">\n<style>\n  :root{--ink:#1c2330;--muted:#6a7385;--accent:#2563eb;--line:#e7ebf3;--bg:#fbfcfe;--soft:#eef3ff}\n  *{box-sizing:border-box}\n  body{margin:0;background:var(--bg);color:var(--ink);\n    font-family:Georgia,\"Iowan Old Style\",Cambria,\"Times New Roman\",serif;line-height:1.72;\n    -webkit-font-smoothing:antialiased}\n  .sans{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif}\n  .wrap{max-width:740px;margin:0 auto;padding:40px 22px 90px}\n  .hero{width:100%;height:auto;border-radius:16px;display:block;box-shadow:0 24px 60px -34px rgba(20,40,90,.5);margin-bottom:30px}\n  .cat{display:inline-block;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,sans-serif;\n    font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase;color:var(--accent);\n    background:var(--soft);border-radius:999px;padding:6px 14px;margin-bottom:16px}\n  h1{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif;\n    font-size:40px;line-height:1.14;letter-spacing:-.02em;margin:0 0 14px;font-weight:800;text-wrap:balance}\n  .meta{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,sans-serif;color:var(--muted);\n    font-size:14px;margin:0 0 30px;padding-bottom:22px;border-bottom:1px solid var(--line)}\n  article p{font-size:19px;margin:0 0 22px}\n  article h2{font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif;\n    font-size:26px;letter-spacing:-.01em;margin:44px 0 14px;font-weight:800;line-height:1.25}\n  article a{color:var(--accent);text-decoration:underline;text-underline-offset:2px}\n  article strong{font-weight:700}\n  code{font-family:ui-monospace,\"SF Mono\",Consolas,monospace;background:#eef1f6;padding:2px 7px;\n    border-radius:6px;font-size:.85em}\n  .cta{margin:44px 0 0;padding:26px 28px;background:var(--soft);border:1px solid #d9e4ff;border-radius:16px}\n  .cta p{font-size:17px;margin:0 0 16px;color:#2b3346}\n  .cta .btn{display:inline-block;font-family:-apple-system,BlinkMacSystemFont,\"Segoe UI\",Roboto,sans-serif;\n    background:var(--accent);color:#fff;font-weight:700;font-size:16px;text-decoration:none;\n    padding:13px 24px;border-radius:10px}\n<\/style>\n<\/head>\n<body>\n\n\n  <article>\n    <p>For about two years I did lead capture the lazy way. Write a decent guide, export it to PDF, slap a big &#8220;Download&#8221; button on a page, done. People clicked, the file downloaded, and that was the end of it \u2014 I never knew who any of them were.<\/p>\n\n    <p>Then one afternoon I actually looked at the numbers: roughly 900 downloads of a pricing guide over six months. Nine hundred people interested enough to grab it, and I couldn&#8217;t email a single one, because I&#8217;d never asked.<\/p>\n\n    <p>That&#8217;s the entire problem gating solves. Instead of handing the file over the instant someone clicks, you ask for a name and email first. They fill in a short form, they get the file, and you get a lead you can follow up with. Same download \u2014 completely different outcome.<\/p>\n\n    <p>Here&#8217;s how I set it up now. It takes about five minutes and needs zero code.<\/p>\n\n    <h2>1. Install a gating plugin<\/h2>\n    <p>You need something that sits between the click and the file. I use <strong>Gated Downloads<\/strong> (it&#8217;s free on WordPress.org \u2014 full disclosure, I built it after getting fed up with the alternatives being either bloated form builders or clunky membership plugins). Install it from <strong>Plugins &rarr; Add New<\/strong>, activate, and you&#8217;ll get a new &#8220;Gated Downloads&#8221; menu.<\/p>\n    <p>Any plugin that does per-file lead capture works \u2014 the steps below are the same idea whatever you use.<\/p>\n\n    <h2>2. Create your gated file<\/h2>\n    <p>Go to <strong>Gated Downloads &rarr; Add New<\/strong>. Give it a title (this is just for you \u2014 &#8220;2026 Pricing Guide&#8221;), then either upload your PDF to the Media Library or paste an external URL if it lives on cloud storage. Set the button label your visitors will actually see, something like <em>&#8220;Get the free guide.&#8221;<\/em><\/p>\n    <p>That&#8217;s the file half done. Now the form.<\/p>\n\n    <h2>3. Ask for the right fields \u2014 and only those<\/h2>\n    <p>This is where most people shoot themselves in the foot. Every extra field you add costs you conversions. A form asking for name, email, phone, company, and job title feels thorough to you and exhausting to the person on the other side.<\/p>\n    <p>My rule: <strong>email is the only thing you truly need.<\/strong> Add a first name if you want to personalize follow-ups. Add a phone number only if someone&#8217;s actually going to call \u2014 otherwise leave it off. You can always learn more about a lead later; you can&#8217;t un-scare-off the ones who bounced at a five-field form.<\/p>\n\n    <h2>4. Drop it on a page<\/h2>\n    <p>Publish the gated file and you&#8217;ll get a shortcode \u2014 something like <code>[tslgd_download id=\"123\"]<\/code>. Paste it into any post or page, or use the block if you&#8217;re in the editor. That&#8217;s the whole integration. The button shows up, and clicking it opens the opt-in form as a pop-up.<\/p>\n    <p>Go look at the live page. Click your own button. Make sure the form appears and the file actually downloads after you submit. Test it on your phone too \u2014 half your traffic is probably mobile.<\/p>\n\n    <h2>5. Watch the leads come in (and do something with them)<\/h2>\n    <p>Every submission lands under <strong>Gated Downloads &rarr; Leads<\/strong>, and you can export the whole list as a CSV. That&#8217;s the payoff: instead of anonymous download counts, you&#8217;ve got a growing list of people who raised their hand.<\/p>\n    <p>Now the part nobody tells you \u2014 <strong>capturing the lead is step one, not the finish line.<\/strong> A name sitting in a spreadsheet isn&#8217;t worth anything until you follow up. Send them the file, sure, but send a short note a few days later too. Point them to something else useful. That&#8217;s how a download becomes a customer.<\/p>\n\n    <h2>Do you have to gate <em>everything<\/em>? No.<\/h2>\n    <p>Please don&#8217;t. Gate the things worth trading an email for \u2014 the in-depth guide, the template, the pricing sheet, the checklist people actually want. Leave your blog posts open. Gating a 400-word article behind a form is how you teach people to close the tab.<\/p>\n    <p>Start with your single best resource. Gate that one. See how many emails it pulls in a week. If it works \u2014 and it will, if the resource is genuinely good \u2014 repeat it on the next one.<\/p>\n    <p>That pricing guide I mentioned? I gated it, changed nothing else, and it now collects around 40 emails a month from the exact same traffic that used to give me nothing. The download was never the asset. The lead was.<\/p>\n\n    <div class=\"cta\">\n      <p>Want to try it? <strong>Gated Downloads is free on WordPress.org<\/strong> \u2014 install it, gate your best file, and see what a week of real leads looks like.<\/p>\n      <a class=\"btn\" href=\"https:\/\/wordpress.org\/plugins\/templatesell-gated-downloads\/\" rel=\"nofollow noopener\" target=\"_blank\">Get the free plugin &rarr;<\/a>\n    <\/div>\n  <\/article>\n<\/div>\n<\/body>\n<\/html>\n\n","protected":false},"excerpt":{"rendered":"<p>How to Gate a Download in WordPress and Actually Capture the Lead For about two years I did lead capture the lazy way. Write a decent guide, export it to PDF, slap a big &#8220;Download&#8221; button on a page, done. People clicked, the file downloaded, and that was the end of it \u2014 I never [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":1820,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[8,6],"tags":[898,897,896,899,895],"class_list":["post-1817","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-coupon-and-deals","category-tips-and-tutorials","tag-content-locker","tag-email-opt-in","tag-gated-downloads","tag-lead-generation","tag-wordpress-lead-capture"],"blocksy_meta":[],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/templatesell.com\/blog\/wp-content\/uploads\/2026\/07\/blog-post-1.png","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9LLEg-tj","_links":{"self":[{"href":"https:\/\/templatesell.com\/blog\/wp-json\/wp\/v2\/posts\/1817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/templatesell.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/templatesell.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/templatesell.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/templatesell.com\/blog\/wp-json\/wp\/v2\/comments?post=1817"}],"version-history":[{"count":2,"href":"https:\/\/templatesell.com\/blog\/wp-json\/wp\/v2\/posts\/1817\/revisions"}],"predecessor-version":[{"id":1822,"href":"https:\/\/templatesell.com\/blog\/wp-json\/wp\/v2\/posts\/1817\/revisions\/1822"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/templatesell.com\/blog\/wp-json\/wp\/v2\/media\/1820"}],"wp:attachment":[{"href":"https:\/\/templatesell.com\/blog\/wp-json\/wp\/v2\/media?parent=1817"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/templatesell.com\/blog\/wp-json\/wp\/v2\/categories?post=1817"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/templatesell.com\/blog\/wp-json\/wp\/v2\/tags?post=1817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}