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 demonstrating 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.

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.

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 having very easy steps to add files in media library, here are the steps.

To Add A File In Media Library

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

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 the options will upload your file to the WordPress media library.

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.

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.

Step 4: Copy Link.

Just copy the path given in the Copy Link option.

Step 5: Paste the Link.

Step 5.1 Select Anchor Text.

Step 5.2 Click On Add Link.

Step 5.3 Paste Your File Link.

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

Step 1.2 select the Common Blocks category.

Step 1.3 Click On File Block.

File Block Insertion.

You can select your file using the upload option where your select 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.

Step 2: Select Your File.

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].

Step 1.2 Select Layout Elements Category.

Step 1.3 Click On Buttons Block.

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

Step 2: Name Your Button.

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.

Step 4: Paste Your File Link.

Now you have to paste you 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.

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

Was This Article Helpful?

0
0 Comments

There are no comments yet

Leave a comment

Your email address will not be published. Required fields are marked *