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 / Is there a code that provides the root address for the download link?

Is there a code that provides the root address for the download link?

  • This topic has 5 replies, 2 voices, and was last updated 13 hours, 17 minutes ago by burah hi.
Viewing 6 posts - 1 through 6 (of 6 total)
Nov 16, 2025 at 1:25 pm #209625

burah hi
Participant

Hello,

Is there a code that shows a direct download link? ( shortcode or php code)

For example,

<a href="https://site.com/wp-content/uploads/download-manager-files/xxxxx-files.zip">Download</a>

I’m looking for a code that displays the root address of the file

https://site.com/wp-content/uploads/download-manager-files/xxxxx-files.zip

Nov 16, 2025 at 1:35 pm #209626

Tahasin
Moderator

Hello,

Thanks for reaching out.

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

Regards

Nov 16, 2025 at 1:57 pm #209627

burah hi
Participant

Thank you for your interest. I apologize for the incomplete explanation.

Details, I added shortcodes ([wpdm_package id='xxx']) for download links to the articles. My goal is to automatically convert these codes to the root address.

Nov 16, 2025 at 2:14 pm #209628

Tahasin
Moderator
This reply has been marked as private.
Nov 16, 2025 at 2:19 pm #209629

Tahasin
Moderator
This reply has been marked as private.
Nov 27, 2025 at 8:06 pm #209759

burah hi
Participant

The URL I want to display is below;

https://site.com/wp-content/uploads/download-manager-files/xxxxx-files.zip

Full path and file name.

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

You must be logged in to reply to this topic.

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