How to Show a Download Button to Logged in Users Only

User Only Download is an add-on for the Easy Media Download plugin that can be used to show a download button to logged in users only. This can be useful if you are trying to set up a user only download page or wish to make a specific download button accessible to logged in users.

In order to protect a download button from non-logged in users, enclose the download shortcode with the emd_user_only_download shortcode.

[emd_user_only_download][easy_media_download2 url="https://example.com/wp-content/uploads/file.zip"][/emd_user_only_download]

The download button will appear normally when the user is logged in.

screenshot of the download button when the user only download shortcode is used

For a non-logged in user a message will be shown instead.

user only download message when a non-logged in user tries to access downloads

The default message can be customized in the plugin settings (Settings > Easy Media Download > General).

user only download extension settings

Get the User Only Download Add-on

EMD User Only Download
EMD User Only Download
Show a download button to logged in users only.

License: Unlimited Websites

Note:
* Do not purchase before setting up the core plugin first. The add-on is not at fault if the core plugin does not work on your website.
* Do not purchase if you are not sure about a feature, contact us instead.
* Do not purchase to ask for more features or make the product work in a certain way.

Price: $39.99

1 thought on “How to Show a Download Button to Logged in Users Only”

  1. Using this to give users access to my free e-book downloads. Great addon.

    Reply

Leave a Comment