How to make a file downloadable on wordpress button - final, sorry
How to add a PDF Download link in WordPress
One common question I get from customers that are adding content to their wordpress websites is How do I add a PDF link to a page? So Ive created a step by step guide below of what I think is the simplest method.
Step 1
Create your PDF In this instance were using Microsoft Word to create a PDF document, though you can use a number of other programs to create your PDFs. In Microsoft word, go to the circular menu in the top left corner and select Save As. Then select Adobe PDF to generate your PDF.
Step 2
Name your PDF correctly This step is often overlooked, but it is important to name your PDF correctly. By this, I mean save the file name of your PDF exactly as you want the text of your download link to appear. So if you want the link to read Download our Price List then label the PDF as Download our Price List.
In this case, I want the link to appear as Section R EDUCATIONAL.
Step 3
Upload your PDF to the Media Library Go to the Dashboard of your website and select the Media Library tab from the main menu. Press the Add New button at the top of the page, then select your file and upload it to the library.
Step 4
Create the link text Open the page you are wanting to edit in the content editor (Go to pages then select All Pages then select the page you are working on) and place the cursor in the position where you would like to create your link.
Step 5
Add Media Hit the Add Media button in the top left of the content editor. This will open your media library. When the media library opens, select the PDF file you have already uploaded and press the Insert into page button in the bottom right corner.
Step 6
All done To complete the task, hit the Update button to save the page And thats it! You can now got to your live site and refresh the page to check the changes have been completed correctly.
I hope you found this guide helpful. If you have any questions feel free to get in touch.
-