Hi,
That worked perfectly for link-template-default.php.
The changes to page-template-default.php do not seem to work. The file has been copied to the theme’s download-manager/page-templates folder. Any idea?
Thank you.
Hi mahamed Trabelsi,
Thank you for your query. Currently, the default is to open an external link in an iframe. This can be modified by editing the plugin download-manager > wpdm-start-download.php file Line 151.
add the following patch :
echo "<script> var parentWindow = window.parent;
parentWindow.document.getElementById('wpdm-lock-frame').style.display = 'none';
parentWindow.open('{$indfile}');
</script>";
DONT FORGET TO uncomment the header('location: ' . $indfile); line.

thanks.
Hi,
I need to have a new browser window open when someone clicks to download/view a file. I can’t find anywhere in the documentation that addresses how to write the shortcode for that. It is currently opening the download or view in the current window but the link for the download takes the user to another site and then the open tab for my site is replaced with the new site window. Can you please point me in the right direction to implement that functionality?
Hi,
you can follow the link below documentation,
Template Files
by default, you are using link-template-default.php for link template and page-template-default.php for the page template. As documentation, you have to copy the file in the theme directory naming a folder called download-manager, then paste it in page-templates for page template or link-templates for link template. And you have to replace [download_link] with <a href="[download_url]" class="btn btn-primary" target="_blank">[link_label]</a> in related PHP file.
let me know, if those help you.
Thanks.
Hi There,
I think you have misunderstood my question so I will rephrase this.
Below is a list of metadata fields (Columns) that is available in download Manager Pro by default.
Add Title
Paragraph
Attached Files
Status:
Visibility
Publish immediately
Download Available From:
Download Expire on:
Excerpt
Slug
Author
Tags
Category
Additional preview
Feature Image
Package setting
Version:
Link Label:
Stock Limit:
Download Limit:
View Count:
Download Count:
Package Size:
Allow Access:
I want to add in some more fields for example “Topic” etc. How can I add custom metadata fields (columns) for my files?
Looking forward to hearing back from you soon. This is an urgent requirement, please.
Best Regards.
Hi,
If you are trying to open the download link in a new tab,
you can follow the link below documentation,
Template Files
by default, you are using link-template-default.php for link template and page-template-default.php for the page template. As documentation, you have to copy the file in the theme directory naming a folder called download-manager, then paste it in page-templates for page template or link-templates for link template. And you have to replace [download_link] with <a href="[download_url]" class="btn btn-primary" target="_blank">[link_label]</a> in related PHP file.
let me know, if those help you.
Thanks.
Hi Marcus shita,
Please follow the link and search there.
https://www.wpdownloadmanager.com/support/
and for dropbox settings please follow
WPDM Dropbox Explorer – Complete Setup Guide & Documentation
thanks
hi team,
i have some packages (terms agree option enabled) with external links (mega.nz).
after a user accept and press download the link will be opened in the iframe.
the page shows mega refused to connect because mega.nz dont allow opening links in iframe.
so if there is a hook to open mega link in a new window.
thank you.
I know that you should never use an old Browser Version, but reality is, that a lot of people still use an older version of Edge or Internet Explorer.
After a Script Shutdown caused by dowload manager pro I went to the core and discovered one line of code that is not ES5 compatible.
This line is present in two files:
download-manager/assets/js/front.js
download-manager/assets/js/wpdm.js
notify: function(message, type = 'info', position = 'top-right'){
There is a solution and an explanation for this problem on stack overflow.
You could either change this part according to the link above, or you could deliver an es5 compiled script in addition to an es6 compiled script. Users should then work out on their own, which one they want to use for their site.
Hi Greg Harte,
Sorry for the inconveniences. For purchase security reason, it is not convenient to send the user the direct download link of the purchase.
However, you can easily achieve guest purchase functionality.
#1
create a guest purchase page. put the shortcode [wpdmpp_guest_orders] in the page. NOTE THE GUEST PURCHASE PAGE URL
#2
Enable guest checkout from downloads > settings > Premium Package > Basic tab> Frontend settings
#3
Modify the Purchase Confirmation - Guest ( To: Customer ) email template from Downloads > templates > email templates > to remove the signup link and insert the purchase page URL you have created at #1. save it.
(Please don’t forget to use insert link button in the editor, this will make a clickable link. we will add a template variable tag in next update to make this easier.)
NOW the customer will get the guest order page URL in the email when they purchase.
Please let us know if you face any problem.
thanks
Hi Sarah Janye Duryea,
The problem was due to you had hardcoded the download link in the email template.
I’ve fixed the download link tag in the email template to <a class="button" style="display: block; text-align: center;" href="[#download_url#]">Download</a>
[#download_url#] this tag in the href is important. It will replace by the downloaded package accordingly.
It’s working fine now. Please check that out.
thanks
This reply has been marked as private.
Hi
I have set up an email lock for a download.
When the subscriber clicks the download link in the email they receice they get a 403 error – how can I fix this?
Thanks
There may be an issue with user Allow Access option also there can be Download link expiration period issue. please give the package URL and if possible, Please, give your temporary wp-admin login details in a private reply for checking the issue.
Thanks.
Hi there its really strange I contacted many time here always my issue do not resolve
my customer place order guest checkout and not able to download audios after purchase system do not send the direct download link via purchased email which is strange even today I generated master key download links and when visit https://raza.d.pr/ZqlSlO you do not have permission which is really worst thing and my customer complain me
please resolve my issue we want to send a direct link to the customer email when they do guest checkout,
Hi,
I see it is taking some time to deliver your email. So the ” Private Download Link Expiration Period:” was expiring which was set to only 3 minutes. I have increased it and tested a download. There was no issue with the download after that.
Thanks.
Please, give your temporary wp-admin login details in a private reply for checking the issue and adjusting it. can you please elaborate which is you are saying direct download link
Thanks.
Hi everybody.
I’m a Download Manager Pro user and I have an issue regarding “links template” feature.
When I paste the “direct download link” – which is the kind of link I adopted – inside my post, the plugin always uses the “1 column,Extended” template and it seems not to be any way of changing it, neither adding the template of my choice in the relevant field while inserting a new download element, nor deactivating every link template but the one I’d like to use (Call to actin 1).
Is there any solution?
Thanks in advance for your kind reply
I have enabled email lock and when the customer clicks on the link in the email, they go to a page that says Invalid Download link.
I have increased the Private Download Link Usage Limit to 6.
What am I doing wrong?
I reverted back and am redoing it. How can I avoid it happening again? In the front end settings I selected the pages where I created the login, register, dashboard pages. It seemed when I didn’t do that the links on the login, register and dashboard pages didn’t work. I obviously need to be able to get in the backend of my site but want to be able to redirect members to their dashboard, as an admin it shouldn’t redirect me. It doesn’t give me the usual WordPress login page but the WP Download Manager login page when I go to mysite.com/wp-admin. I must have done something wrong. I would also like to possibly have a different dashboard for some users with user specific info.
I need help. The problem is the display of the button when you put a captcha, and from the beginning to the place of the download button, you need to put a captcha check mark. When you don’t put a captcha, everything is fine. How do I make a button appear at the beginning, and then a captcha? Code for the page template.
<?php if(!defined(“ABSPATH”)) die(); ?>
<div class=”row”>
<div class=”col-md-7″>
[thumb_800x600]
</div>
<div class=”col-md-5″>
[download_link_extended]
</div>
<div class=”col-md-12″>
<br/>
<!— Nav tabs —>
<ul class=”nav nav-tabs” role=”tablist”>
<li role=”presentation” class=”nav-item”>[txt=Description]
<li role=”presentation” class=”nav-item”>[txt=Package Info]
<li role=”presentation” class=”nav-item”>[txt=Attached Files]
<!— Tab panes —>
<div class=”tab-content” style=”padding: 15px 0″>
<div role=”tabcard” class=”tab-pane active” id=”wpdmpp-product-desc”>[description]</div>
<div role=”tabcard” class=”tab-pane” id=”wpdmpp-product-info”>
<ul class=”list-group ml-0 mb-2″>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:version]”>
[txt=Version]
<span class=”badge”>[version]</span>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:download_count]”>
[txt=Download]
<span class=”badge”>[download_count]</span>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:file_size]”>
[txt=File Size]
<span class=”badge”>[file_size]</span>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:file_count]”>
[txt=File Count]
<span class=”badge”>[file_count]</span>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:create_date]”>
[txt=Create Date]
<span class=”badge”>[create_date]</span>
<li class=”list-group-item d-flex justify-content-between align-items-center [hide_empty:update_date]”>
[txt=Last Updated]
<span class=”badge”>[update_date]</span>
</div>
<div role=”tabcard” class=”tab-pane” id=”wpdmpp-product-files”>[file_list]</div>
</div>
</div>
</div>
<script>
jQuery(function ($) {
try {
$(‘.nav-tabs’).tabs();
}catch (e){
}
});
</script>
This reply has been marked as private.
how to i edit the linked product template displayed at the bottom of this post: https://www.riddimstream.com/download/durban-poison-riddim-various-artists-bass-ink/ to display just image, title and download button. Also how to i change the white border to back please
if there is no file present in a package, you can try this in your page or link templates,
<?php if(count(WPDM()-package::getFiles($ID, true)) > 0 ) { ?> [download_link] ?php } ?
Thanks.
Main Library is a Parent Category for 200+ Categories. I also have Christmas Library setup as a Parent Category for 30+ Categories. There is a separate page setup to display each of the Parent Categories:
http://www.sacband.ca/members/sacb-music-library/
http://www.sacband.ca/members/sacb-christmas-music-library/
Each Child Category is the title of a musical composition and all the orchestral parts (Packages) for a musical composition are assigned to their respective Child Category.
The Main Musical Library
https://www.sacband.ca/members/sacb-music-library/
would display a list of the respective Child Categories and when you clicked on one of the Child Categories (Titles of musical composition), the list would expand to show all of the Packages (orchestral parts) within that Child Category. You could then click on one of the Packages to see the individual package details with a link to download.
It has run this way since we first set it up 3 years ago. Did something change in the recent updates of either Download Manager or the Extended Short-Codes plugin that would cause this to no longer function as it did previously?
Thank you.