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

in Download Manager Free

Viewing 7 posts - 1 through 7 (of 7 total)
Nov 16, 2025 at 1:25 pm
#209625
Participant
burah hi
OP

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
Moderator
Tahasin
Staff

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
Participant
burah hi
OP

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
Moderator
Tahasin
Staff
This reply has been marked as private.
Nov 16, 2025 at 2:19 pm
#209629
Moderator
Tahasin
Staff
This reply has been marked as private.
Nov 27, 2025 at 8:06 pm
#209759
Participant
burah hi
OP

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.

Nov 29, 2025 at 1:52 am
#209770
Moderator
Tahasin
Staff

Unfortunately, there is no code available to display the file path with file name.

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

You must be logged in to reply to this topic.