Want to create a WordPress download PDF button but don’t know how? This guide will show you how to add a PDF to a button in WordPress easily.
Approximate read time: 6 minutes
Who would've thought adding a WordPress button to download a PDF would be complicated? There are long guides and other plugins involved.
Most people don't want that. They want a simple solution, not a bunch of headaches. And we assume you're the same way. But it doesn't have to be so hard. It can be very easy to create a button for your PDF downloads.
And we have this guide to adding a download WordPress PDF button today! It'll show you two ways to add it to your website so you can find the best method for your needs.
Let's dive in.
Did you know?
It's really easy to connect Woocommerce to Formidable Forms? And, you can create PDF downloads for any products and catalogs you have!
How to add a download PDF button in WordPress
You came here for answers, so we’ll get right to it to give you what you need.
It only takes two simple steps to add a download PDF button in WordPress:
Step 1: Upload PDF to WordPress
First, locate the downloadable file you want to put on your WordPress website. It can be an eBook, graphic, or simply an image.
Once you have it, go to your WordPress admin and navigate to Media → Add New.
Next, drag your PDF to the file upload box. Once it’s finished uploading, click the Copy URL to clipboard button to get your file URL. It should look similar to this: “Download URL: http://URLHERE.com/.”
Remember that you don’t have to upload your PDF to the WordPress media library. Sometimes, the files on your WordPress site are too large and risk slowing website speed.
You can also upload it to Google Drive or a similar service to provide a download link to the PDF file.
Step 2: Display the WordPress download PDF button on your page/post
Okay, you’ve got your PDF ready, so now we need a way to show it.
First, navigate to your page or post where you want your PDF download button in WordPress.
On the page, add a new block and search for Button. Select the Button block to create a download button, then adjust the button position.
Last, click the Link button on the toolbar, and paste the URL you copied in step one.
Update your page, and you’re set! When visitors click the button, it’ll direct them to a PDF reader for a printer-friendly version.
From here, they’ll have all the standard PDF and print buttons. They can use their download manager to download it, save parts of the PDF document, and more.
It’s almost like having a WordPress print PDF button!
🔗 Want to link a button to a form? How To Link a Button to a Form in WordPress
How to add a download PDF button with a WordPress plugin
You may wonder why you need a plugin when we showed you how to add a download button for WordPress PDFs easily.
The method above is excellent, but what if you want to do more with your PDF button?
Maybe you want to grow your email list by offering a PDF in exchange for an email address? Or perhaps you want to convert WordPress form entries to a PDF (like a PDF invoice or legal agreement)?
In that case, the best tool for the job is Formidable Forms, the most powerful form builder for WordPress.
With Formidable’s Form to PDF WordPress add-on, creating and downloading PDFs is simple. Whether you want to show a PDF or email it, it’s easy with our add-on. Plus, it looks great with any theme (like Elementor).
But let's show you how to create your PDF button.
How to link a PDF to a button in WordPress
There are a couple of easy steps here:
Step 1: Create a WordPress download PDF button
For this example, we’ll use the PDF URL we created above. To start, you want to install and activate Formidable Forms.
Once you’ve done this, navigate to the form builder by going to Formidable → Forms.
Then, click Add New at the top and choose Blank Form to start creating your PDF Form.
Once you give your form a name, you’ll see our form editor. This simple drag and drop builder has many options, but today we need the Hidden field. You don’t have to type anything here.
So, drag that onto the builder canvas. Next, we need to turn off the Start Over button, which is enabled (for styling issues).
Let's change this by clicking the Submit button to access its field options in the left pane. Then, we can uncheck the Add Start over button checkbox.
Next, we want to go to Settings → Actions & Notifications. Find the Confirmation action and add it. This action triggers every time there's a form submission, so it's perfect for redirecting users.
Next, open the Confirmation action, and click the Redirect to URL button. Then, paste the URL into the Redirect URL field.
Last, click the Update button to save the action.
Want to customize your PDF design? How To Use a PDF Editor in WordPress
Step 2: Display the WordPress download PDF button
For the last step, navigate to the post/page where you want to show your button.
Click the Add Block button and search Formidable. Add the Formidable block, click the dropdown, and select the “form” you created.
Your button will show on your WordPress post or page as soon as you update it.
Now, when they click the button, it’ll direct them to another webpage where they can see the PDF in their PDF viewer.
🚀 Take forms even further with Formidable PDF, The Best Custom WordPress PDF Generator Plugin
Which method do you prefer for your WordPress download PDF button?
So, today, you learned a couple of different ways to create a WordPress PDF download button and put it on your website: one for making a very basic download button and another for converting form entries into downloadable PDFs at the click of a button.
Using WordPress alone gets you the basics of what you need. If you want a simple PDF download button, it’s perfect for you.
But, if you want the power to do anything more, you need another PDF download option.
And that's where Formidable Forms comes in. Our PDF plugin makes it easy to add a PDF download to WordPress forms, buttons, and even different pages or posts.
Check out everything Formidable Forms can do to see how it can serve all your WP content upload needs.
Find more WordPress tips and step-by-step video tutorials on Facebook, Twitter, and YouTube.
centersformotivation@gmail.com says
Hi, Will there be any functionality to convert a form view output as a downloadable pdf? We are using conditional logic to serve up individualized reports based on form inputs so it would be great if our users could download the view output... Please let us know, thanks,
srwells says
This is in the works. We hope to get this functionality added soon, but we don't have an ETA.
beylikdüzü masaj salonu says
Your blog is a testament to the power of storytelling and its ability to inspire change.