Skip to content Skip to main navigation Skip to footer

How To Add A Download Link In WordPress? 3 Easy Ways

There are several ways to add a download link in a WordPress post, this article demonstrates 3 simple ways to add a download link in WordPress.

You can watch this video to understand better about adding a download link or read the below-mentioned steps:

Add Download Link in WordPress

A Hyperlink As A Download Link

A Hyperlink can be used as a download link in a WordPress post. Steps to create such a hyperlink are given below.

Step 1: Open your post in Gutenberg Editor.

Dashboard >> Post >> All Post >> Click On Your Post.

download file wordpress

Step 2: Add Anchor Text In Post.

Add your anchor text in the post where you want to provide a download link for readers. If you already have your anchor text in the post then you can jump directly to Step 3.

Step 3: Select Your Anchor Text.

how to create a download link in wordpress

Whenever you select the anchor text, Gutenberg Editor provides add link option (see the image), where you have to paste the link of the downloadable file, but the question is how can I find the link to the downloadable file? The simple answer to this question is first you have to add your downloadable file to the media library of WordPress. WordPress has very easy steps to add files in the media library, here are the steps.

create download link

To Add A File In Media Library

Step 1: Click On Dashboard >> Media >> Add New

how to create a link in wordpress

Clicking on Add New option headed you to upload Media Screen where you can either drop or select your file from your computer. No matter which option you choose, both options will upload your file to the WordPress media library.

file upload with direct link

Step 2: Click On Dashboard >> Media >> Library.

Clicking on the Library option headed you to WordPress Media Library Screen. Where you will get your all uploaded files.

link generator download

Step 3: Click On Your File.

As you click on your file in the media library, an Attachment Details screen will appear. Where you will get the copy link option which is actually the path of your file in the WordPress media library.

direct download links

Step 4: Copy Link.

Just copy the path given in the Copy Link option.

how to make a download link

Step 5: Paste the Link.

Step 5.1 Select Anchor Text.

video download link generator

Step 5.2 Click On Add Link.

download all links on a page

Step 5.3 Paste Your File Link.

how to create a link to a file

Update your post and you can test the result.

How Do I Create A Download Link For a .pdf File?

There are two methods to add a download button for any file on WordPress Page. A step-by-step approach is given below.

Using File Block.

You can find File Block under the Common Blocks category of Gutenberg Editor. File Block provides two options, you can either upload or pick your file from the media library. Here are the steps.

Step 1: Inset File Block

Step 1.1 Click on + sign

host of media for download

Step 1.2 Select the Common Blocks category.

wordpress download

Step 1.3 Click On File Block.

download wordpress

File Block Insertion.

You can select your file using the upload option where your selected file will be uploaded to the WordPress media library from your computer or you can pick your file from the media library if you have already added it to WordPress Media Library.

how to set up a download link

Step 2: Select Your File.

download images from wordpress

After Effect.

Add A Download Link In WordPress

How To Add Download Button In WordPress Page?

You can also make use of a button as a download link for your file. Here are the steps.

Step 1: Adding a Button Block.

Step 1.1 Click on + sign [Add block].

hyperlink in wordpress

Step 1.2 Select Layout Elements Category.

how to make an image a link in wordpress

Step 1.3 Click On Buttons Block.

webpress download

A button will be inserted into the post without any caption (name).

how to create download link

Step 2: Name Your Button.

how to get a download link

When you will get the button inserted in the post, initially it has no name, so just give a name to that button like Download Me.

Step 3: Select The Button.

Gutenberg Editor provides an add link option (Ctrl+k) when you select the Button.

wordpress download file instead of opening in browser

Step 4: Paste Your File Link.

Now you have to paste your file link [How To Get File Link] in add link option and press Enter. Now this newly inserted button becomes a download button for your file.

how to create a download link for a zip file

These are the ways to add a download link in WordPress.

icons icons icons icons icons icons icons

Stuck Somewhere?
Connect With JustHyre

Hire WordPress Engineers for custom jobs like Website Customization, SEO Optimization, Clearing a Hacked Website, Installation & Configuration & more.

Connnect with JustHyre
0 Comments

There are no comments yet

Leave a comment

Your email address will not be published.