How to Easily Create Download Links Online in WordPress (3 Ways)

Download link is an essential part of any website because your audience may need to download the necessary files. You can use multiple methods to create download links to allow your users hassle-free downloads. That is why it is important to know the methods to add a download link to WordPress.

In this tutorial, we will demonstrate the best 3 methods to implement download links on your custom product page

How to Easily Create Download Links Online

in WordPress (3 Ways)

 

Method 1: Using the ‘File’ block in the block editor

The first and easiest method to add a download link to WordPress is using the built-in settings in the block editor. It requires no extra plugin and can be implemented in a minute.

Step 1:

From the WordPress dashboard, hover the pointer on ‘Pages’ and click on ‘All Pages.’

add a download link to wordpress

Step 2:

Choose any page you want to implement the download link to. Click ‘Edit’ on the selected page to open it in the block editor. 

best woocommerce wordpress themes

Step 3:

After the page is opened in the block editor. Click on the ‘+’ icon, and a block list will appear.  This block editor works with top modern and creative WordPress themes.

add a download link to wordpress

Step 4:

Click on ‘Browse All’ from the block list to view the complete list of blocks. 

wordpress woocommerce themes

Step 5:

As we want to implement a download link of any particular file, let’s choose the ‘File’ block. 

add a download link to wordpress

Step 6:

After clicking on the ‘File’ block, it will be added to the editor. You will see an ‘Upload’ button in the block. Click on ‘Upload’ and choose a file from your local device. For this tutorial, we will be uploading a PDF document. You can also know how to embed pdf on WordPress.

woocommerce wordpress themes

Step 7:

After uploading the PDF file, we will see the preview in the editor, and there will also be a download button for the file. Make sure the ‘Show download button’ option is on, else the download button will not be visible. You can also choose to open the file in a new tab. After that, click ‘Update’ to save the settings and visit the page. 

add a download link to wordpress

Method 2: Using Simple Download Link by Uploading Media Files to Media Library

The second method is relatively easier than the first one. In this method, we will upload a file to the media library and use the file link to implement a download link inside a block editor. This process to add a download link to WordPress is much similar to the first one, yet it’s simpler. If you want You can also export the media library in WordPress easily.

Step 1:

From the WordPress dashboard, hover on ‘Media’ and click on ‘Library.’

woocommerce themes for wordpress

Step 2:

You will be taken to the WordPress Media Library. Now, we will upload a file first. Click on ‘Add New’ to upload the file you want. 

add a download link to wordpress

Step 3:

Click on ‘Select Files’ to upload a file from your computer. We will upload a banner image to the media library for this tutorial.

best elementor theme for woocommerceStep 4:

Click on the file you have just uploaded.

add a download link to wordpress

Step 5:

You will see the preview of the uploaded file along with its several information. Click on ‘Copy URL to Clipboard’ to copy the link to your uploaded file. This is the source link of your uploaded file. This process is the same for all free themes for WordPress eCommerce.

best woocommerce theme elementor

Step 6:

Now following steps 1 to 3 in method 1, open your preferred page in the block editor. Select the particular portion of text you want to attach the link with, and then click on the ‘Link’ icon on the toolbar.

See also  How to Create Flatsome Child Theme To Prevent Customization Loss After the Version Update

add a download link to wordpress

Step 7:

After clicking on the ‘Link’ icon, the link box will appear. Paste the URL of the media library file inside the URL section of the link. Click on the thumbnail to add the url. You can also choose to open the link in a new tab by turning on the ‘Open in new tab’ option. After the customization, click on ‘Publish’ to save your settings. 

how to make a woocommerce theme

Step 8:

In method 2, we inserted the source URL of our uploaded file to a particular text and turned it into a download link. Upon clicking the text ‘Latest Writings’, the file will be opened and you can save it on local storage.

add a download link to wordpress

Methos 3: Using the Download Manager Plugin

The third method to add a link to WordPress requires installing one of the most popular download manager plugins, WordPress Download Manager. We will use this plugin to quickly implement a download button. 

Step 1:

Install and activate the Download Manager plugin from the WordPress plugin directory. 

woocommerce themes

Step 2:

After installing the plugin, hover on ‘Downloads’ from the dashboard and click on ‘Settings.’

add a download link to wordpress

Step 3:

On the Settings page, turn on the option ‘Enable Gutenberg Editor for WordPress Download Manager’ and then click on ‘Save Settings.’

best woocommerce themes

Step 4:

Visit the WordPress dashboard again and hover on ‘Downloads.’ Click on ‘Add New’ to create a download file.

add a download link to wordpress

Step 5:

Inside the block editor, give the download file a title, set featured products images for the download, and upload the download file as shown in the image. After the changes are done, click on ‘Publish’ to save the settings. There are other interesting features you can use like download count, stock limit, view count, and more. 

See also  How to Add Captcha to WordPress to Secure Your Website

best woocommerce wordpress themes

Step 6:

In the dashboard, click on ‘All Files’ in the ‘Download’ section. You will see a shortcode is given for the particular file. Copy the shortcode. This plugin is compatible with any free elementor themes WordPress.

add a download link to wordpress

Step 7:

Now open the page in the block editor on which you want to display the download file. Click on the ‘shortcode’ block to add it to the editor. 

woocommerce wordpress themes

Step 8:

The shortcode block will be added to the editor. Now paste the download shortcode in the shortcode block and click ‘Update’ to save changes. 

add a download link to wordpress

Step 9:

Now preview the page, and you will see we have successfully added the download file and download button to the page. Click on the ‘Download’ button, and the download file will open in the browser. 

woocommerce themes divi

Conclusion

The above-mentioned methods are effective in implementing download links on your website pages quickly. The first two methods can be implemented using the WordPress built-in features, and these methods are much simpler. Though the third method requires an additional plugin, it is a very effective way when you want to implement a download link with certain criteria. 

You can choose any of these methods based on your needs, and your download will work just fine. We hope this tutorial has been helpful to you. Feel free to check out our article on Avada vs Flatsome theme comparison to get insight on top WooCommerce themes. 


Subscribe To Our Newsletter!
Hi, I’m Mohamed. I share delicious recipes that I have cooked and loved. I’ve been food blogging for over 10 years and have a Diploma in Nutrition. You will find many healthy recipes as well as my favourite comfort food on the blog because I believe in a balanced diet.

Related Posts

Fintech’s biggest hits and misses of 2023

As 2023 comes to a close, we’re here to look back at the biggest fintech stories of the year. Silicon Valley Bank’s implosion felt like a fintech…

It’s critical to regulate AI within the multi-trillion-dollar API economy

Alex Akimov Contributor With two decades of tech leadership experience, Alex Akimov, former head of API at Adyen, now revolutionizes embedded finance at Monite by building best-in-class…

EU’s provisional deal on gig worker rights fails to get enough backing from Member States

Not so fast on that Christmas present for precarious gig workers in the EU: A political deal announced mid month, which aims to bolster platform workers rights…

Arduino exploring India manufacturing to limit counterfeit sales

Arduino is considering manufacturing in India. The startup, best known for its open source microcontroller boards, hopes to restrict the rise of counterfeit boards and cater to…

Top robotics names discuss humanoids, generative AI and more

Last month, I took an extended break. In a bid to keep my robotics newsletter Actuator (subscribe here) up and running, however, I reached out to some…

Pornhub owner pays US government $1.8M to resolve sex trafficking probe

Pornhub’s parent company Aylo Holdings will pay $1.8 million to the U.S. government to resolve a charge of profiting off of sex trafficking. The company, formerly known…