Subscribe to Download using Ninja Forms and Popup Maker

Опубликовано: 31 Март 2026
на канале: Popup Maker for WordPress
14,062
93

Here we will show you how to set up a single popup optin form that will block access to specific files/links on your site until the user submits successfully.

Further we give examples of how to redirect them immediately after submission or send an email with the file link.

This example uses:

= Plugins Used =

Popup Maker: https://bit.ly/2XJ2kNY
Ninja Forms: https://bit.ly/2XAUdTQ
Simple Custom CSS & JS: https://bit.ly/2XAUR3I

Custom Code: https://bit.ly/2PuTO2d

Guide to using the browser inspector: http://bit.ly/2XIdina

You might want to do this if you have multiple download links on your site that you want to require optin for before the user gets the file.

1. Install Popup Maker
2. Install Ninja Forms
3. Install Custom JS solution
4. Create Optin Form
Hidden field for url (required)
Success actions
Confirmation Email
Immediate Download
5. Create Popup
Insert form
Add click trigger with custom class ex a.subscribe-to-download, .subscribe-to-download a
Add cookie on NF successful submission for 1 year.
If not already link the cookie to the click trigger.
6. Add custom JavaScript to insert clicked link into the popup form hidden field.
7. Insert button/link to the pdf & zip file and add the correct custom class to trigger the custom JS.