How to Create a Download Button in WordPress

Last updated on by admin

Do you have a website where you want to offer free digital downloads such as photos, software, e-books, documents, songs, graphics, or any other type of media file? Creating a free download button can really help make the process easier by allowing your visitors to directly download a file.

How to Create a Download Button

1. Download and install the Easy Media Download plugin (Easy Media Download is a WordPress Download plugin that allows you to create a download button beautifully with a shortcode).

2. Create a new post/page or edit one and insert the following shortcode into the editor (Make sure to paste as plain text in the visual editor):


[easy_media_download url="http://example.com/wp-content/uploads/file.zip"]

All you need to do is replace the example URL with the actual URL to your file. The file can be hosted anywhere. The download button will work as long as the URL is public and accessible in your web browser.

screenshot of a download button in WordPress

How to Create a Download Button for a ZIP file


[easy_media_download url="http://example.com/wp-content/uploads/file.zip"]

How to Create a Download Button for a Music/MP3/Audio file


[easy_media_download url="http://example.com/wp-content/uploads/test-song.mp3"]

How to Create a Download Button for a Software/App/Plugin


[easy_media_download url="http://example.com/wp-content/uploads/my-program.exe"]

How to Create a Download Button for a Photo/Image


[easy_media_download url="http://example.com/wp-content/uploads/cool-pic.jpg"]

How to Create a Download Button for a Document


[easy_media_download url="http://example.com/wp-content/uploads/my-file.doc"]

How to Create a Download Button for a PDF/e-book


[easy_media_download url="http://example.com/wp-content/uploads/my-book.pdf"]

How to Create a Download Button for a Video


[easy_media_download url="http://example.com/wp-content/uploads/cool-vid.mp4"]

GET 70% OFF WordPress Hosting Here

4 thoughts on “How to Create a Download Button in WordPress”

  1. Will this download button help count number of downloads? If no, please tell me the one to use for downloads+counts.

    Thanks.

    1. @Dave, If you use my simple Google Analytics plugin you might be able to track the number of downloads in your Google Analytics account.

      1. Might?… Are you saying I have to install both plugins to count my downloads?….

        I created a custom download button already using CSS. Will my Google analytics account help me count downloads through that?..

Leave a Reply

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