Is there a good plugin to require your email and name to download a PDF?

[ad_1]

I have a client who would like a feature that requires a user to supply their email address and name. In return it will allow them to download the latest news article PDF (or similar file) from the site.

As an alternative it could also be a ‘paywall’ of sorts that just blocks a blog post from being viewed unless the user enters their email and name.

Ideally I would like to go with the first option, but I was hoping someone could recommend any FREE plugins that offer this functionality, and preferably works on WordPress 6.1 or 6.2.

The closest plugin I found is called “Email Before Download” [https://wordpress.org/plugins/email-before-download/]) but it has only been tested up to WordPress v6.0.3.

​

Thanks!

[ad_2]
2 Comments
  1. You can accomplish this with a cookie and custom theme page.

    If cookie is not set, use some PHP to display Contact Form 7 form to collect email and name.

    When they submit the form, have JavaScript listen for the WPCF7 success event, and have it set a cookie and refresh the page.

    On page re-render, PHP will now see the cookie is set, and will display the page content instead.

    Either way, that plugin should work. 6.0.3 is close enough.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer