WordPress Download Manager
WordPress Download Manager
  • Pricing
  • Demo
  • Extend
    • Full Access Pack Get access to all items on this site with a BIG DISCOUNT
    • WordPress Form Builder Plugin Try it even if you are using another one and you may thank me later :)
    • Attire All-in-One WordPress Theme, only theme you will ever need

    Add-ons

    • Add-ons
    • Cloud Storage
    • eCommerce Add-ons
    • Email
    • Featured
    • Free
    • Marketing
    • Payment Gateways
    • Social Networking
    • Tools
    • UI
    • Widgets

    Customization Service

  • Discount Packs
  • Docs
  • Support
    • Search in Forum
    • Download Manager Pro
    • Download Manager Free
    • Pro Feature Request
    • How To...
    • Tips and Tricks
    • Contact Us
  • Blog
Login | Register
Forgot Password?
— Don't have an account yet? Register Now —
Home / Topics / Download Manager Free / Direct download link shortcode

Direct download link shortcode

  • This topic has 5 replies, 5 voices, and was last updated 6 years, 8 months ago by Dave Neal.
Viewing 6 posts - 1 through 6 (of 6 total)
Mar 24, 2017 at 11:14 am #55595

Gruppo Scout San Damiano 1
Member

Hi, I need to put a direct download link for each file into my own custom button.

I tried something like this, stytling the link, but the shortcode do not generates a real link.

Download

I need help

Mar 24, 2017 at 12:27 pm #55600

Shahriar
Moderator

You can do it manually in this way:

<a href="//your-site-url/?wpdmdl=[ADD_FILE_ID]">[your custom button image or text]</a>

Or, use short-code:

[wpdm_package id="[ID]" template="link-template-button.php"]

And use the following add-on to add your custom button image:

WPDM Image Button

Mar 24, 2017 at 5:06 pm #55617

Gruppo Scout San Damiano 1
Member

Why it is not presented into documentation?

Sep 14, 2018 at 4:25 pm #87125

Becky Zingler
Member

Is there a way to create a direct download hyperlink for another site with the pro version?

Sep 27, 2018 at 6:42 pm #87533

Shafayet
Moderator

@bzingler, no shortcode for that, but you can use HTML as @shahriar mentioned:

<a href="//your-site-url/?wpdmdl=[ADD_FILE_ID]">[your custom button image or text]</a>
Oct 17, 2018 at 3:17 pm #88286

Dave Neal
Member

Hi, this is useful, but I want to use this idea in a Toolset View Loop to give a direct download link, so the ID is a variable. What field do I need to use (e.g. wpv-post-url) please?

Viewing 6 posts - 1 through 6 (of 6 total)

The topic ‘Direct download link shortcode’ is closed to new replies.

footer-logo

WordPress Download Manager

All in One Digital Asset Management & Complete eCommerce Solution for Selling Digital Products

Quick Access

  • Try Demo
  • Pricing
  • Affiliate
  • Contact

Blog

  • Updates
  • How-to
  • New Release
  • Tips

Support

  • Support Forum
  • Priority Support
  • Feature Request
  • Terms and Conditions