Add the css classes wpdm-download-link wpdm-download-locked
with attr data-package="{{PACKAGE_ID}}"
with your download button, that shall trigger the download modal.
Here is a way to create custom button for a locked package:
<a href="#unlock" class="wpdm-download-link wpdm-download-locked btn btn-success " data-package="{{PACKAGE_ID}}">Button Label or Image here</a>
Replace {{PACKAGE_ID}}
with proper package ID.
Hi there! New PRO User. I was wondering if there was a way to load the “button” template via a specific URL.
Kindof like the Master Download Link but that it launches whatever lock options you set on the download setting.
I basically want to use my own button to trigger the download with the “must agree with terms” and “captcha” options but using any button I choose.
Hi,
It is not possible to disable single download page totally. However, you can disable single download page link from link template. You need to replace [page_link]
with [title]
, Doc:
Template Files
Hello Rita,
Hope you are well. For disallowing crawling by the Search Engine. You can Mask Download Link
, If you mask the download link, bots will not be able the find any public download link easily. You are able to find this setting from Downloads > Settings> Basic Settings
. please check.
And another way for making disallow Crawling Download Manager Pages on Google, Bing + search engines is, Add the following code at the end of your active theme’s functions.php
:
function noindex_for_wpdm()
{
if ( is_singular( 'wpdmpro' ) ) {
echo '<meta name="robots" content="noindex, nofollow">';
}
}
I hope it may help you. Please check and let me know
Thank you and regards
This reply has been marked as private.
Hi there,
I would like to add an no index tag to specific download packages. Since I’m not sure if this is possible I got to the second best option: to avoid indexing in the first place.
I added a section at the very end of the functions.php of my Attire-Theme (below). Moreover I chose “Mask Download LinK” in Downloads > Settings > Basic.
1. Did I do this right? If so, is there a way to test it before waiting for the google bots?
2. Generally is there a smarter way?
Thanks and Regards!
// 404 page
echo ‘
‘ . ‘Error 404’ . ‘
‘;
}
echo ‘‘;
}
}
}
new AttireBase();
function noindex_for_wpdm()
{
if ( is_singular( ‘wpdmpro’ ) ) {
echo ‘<meta name=”robots” content=”noindex, nofollow”>’;
}
}
You’re welcome.
BTW, in case you missed it, wpdm premium packages plugin has an interesting feature, we added recently, you can create payment link even without creating new product, we call it dynamic product. It was added recently. It may come handy in your any future project :).

However, let us know if you need any other assistance :).
So, you want to update order data ( expire it ) on start of download.
Use the following code:
add_action("wpdm_onstart_download", function ($package) {
$params = wpdmppdl_decode(wpdm_query_var('wpdmppdl'));
$order_id = wpdm_valueof($params, 'oid');
$odata = WPDMPP()->order->getOrder($order_id);
if ( $odata->order_status == 'Expired' ) {
// Modify order data here
$odata->order_status = 'Completed';
// Expired time set to 10 mins in the future so that the download link will be seen as valid
$odata->expire_date = time() + 600;
}
});
We just went through a mess of an update, our website was down briefly, but everything – and I mean everything – is now up to date.
PHP64 version 7.4
Download Manager version 6.3.1
WordPress Amazon S3 Storage Plugin version 3.1.1 (in the list it’s the WPDM – Amazon S3)
WPDM – Elementor version 1.2.2
WPDM – OneDrive version 1.0.1
Wordpress 5.7.8 – ok, that’s not updated. Does WPDM need 6.1.1?
Note that the first two are paid for and licensed, in my current account. However, the S3 Storage Plugin doesn’t show up as registered on this page: Downloads->Add Ons. This happened when I removed it while upgrading and added it again.
Downloads -> Settings -> Updates shows wpdm-amazon-s3.zip shows version 3.1.1 activated.
However, if I go to “All Packages” or “Add New” and then click on “Select from Amazon S3” an initial screen comes up, but then just hangs.
So, we can’t post our update, and the media is upset with us 🙁
Other stuff:
Elementor / plugins all updated
Elementor Pro (I just purchased it, a previous website dev had installed it)
Site used to work fine a year ago when we made a download link.
The site is https://www.dworldvr.com
Please help! Thank you.
== John ==
Sure, in my case I needed to make download access available to ‘Expired’ orders in order details for example and make a system where customers continue to receive files/serials based on the latest version available to them at the time their order expired in order-details. No problems there – just checking file attachment update date against the expiry date for each version to allow download.
– However, because the download() runs checks against ‘expired/completed and expiration date’ I needed a way to modify this data temporarily so that it could pass the download() check when clicking the download button.
This was nearly impossible to do without a filter. I tried for a while and came up with some super dirty solutions using cookies, but I wasn’t able to in a way that was clean and didn’t rely on actually writing/rewriting over the order details.
With a hook, I just temporarily alter the order data before it passes the checks and problem solved.
function wpdmpp_modify_order_data_status( $odata, $oid ) {
// Check order status and expire date
if ( $odata->order_status == 'Expired' ) {
// Modify order data here
$odata->order_status = 'Completed';
// Expired time set to 1 second in the future so that the download link will be seen as valid
$odata->expire_date = time() + 1;
}
return $odata;
}
// Add filter
add_filter( 'wpdmpp_modify_order_data_before_download', 'wpdmpp_modify_order_data_status', 10, 2 );
Hello,
Thank you for your reply.
Well, live chat is for presale-related queries, however, for tech support you might need to post in the forum.
If you let us know about your issue, we will check and let you know the solution.
Apart from that, have you checked our refund policy, if not, please check from the below link?
Terms & Conditions
Regards
Hi,
You may use shortcode wpdm_direct_download
, please follow the doc:
[wpdm_direct_link] – Embed direct download link as a simple text link
however, if you want to generate download link for public downloads suing php code, you may use:
$download_url = home_url("/?wpdmdl=" . $ID);
For locked packages,
Get master download url:
$download_url = WPDM()->package->getMasterDownloadURL($ID);
Get expirable link:
/**
* @param $ID
* @param int $usageLimit
* @param int $expirePeriod seconds | default 10800 seconds = 3 hours
*
* @returns string download url
*/
$download_url = WPDM()->package->expirableDownloadLink($ID, $usageLimit, $expirePeriod);
Hello,
Thank you for writing to us.
We don’t have any separate download links for WPDM Pro 6.3.0 as of now.
Please download the latest version from your account through the below link.
User Dashboard
Regards
Hi,
After updating, we encountered a bug with the feature of adding external links as download buttons.
Example of how it worked previously. Link is added and then the title is changed to something more easily readable:
Now, after the updates, when adding a link to an external website, the link will disappear once changing its title and subsequently updating the page. When changing the title of existing links, the link will also disappear.
Differentiation between external and internal links:
When using links to download.schenker-tech.de (our Download Manager URL), the links will remain, even after changing the title. Only links to “other” websites are affected by this undesirable behavior.
Please help us figure out the root cause why this feature suddenly stopped working. Thank you for your assistance!
This reply has been marked as private.
Hello Vlad Lo,
Hope you are well. You can change the title font size from the page template/ link templates CSS section, Downloads > Templates
, and also can change through your theme style scripts. I hope you have understood. please check and let me know
Thank you and regards
Hello,
Based on the screenshot it appears that the credentials you are trying to use are not valid. Can you please recheck it or reconfigure it again one more time?
Also, please follow the instructions accordingly from the below link.
ActiveCampaign Subscription
Regards
This reply has been marked as private.
Okay think I have sorted the download link but not the password
Hi,
I would like to change the whole site, in the packages that are ready.
The problem is that the package link and the download link have the same path. /arquivo-portal/
-https://portalkairos.org/arquivo-portal/musicas-para-o-2-domingo-da-quaresma-2023-do-ano-a-
-https://portalkairos.org/arquivo-portal/musicas-para-o-2-domingo-da-quaresma-2023-do-ano-a/?ind=1677780942115&filename=01-misericordioso-e-deus-refrao-orante.mp3&wpdmdl=58533&refresh=64041623315cf1677989411-
for
CDN: -cdn-kairos.b-cdn.net-
-https://cdn-kairos.b-cdn.net/arquivo-portal/musicas-para-o-2-domingo-da-quaresma-2023-do-ano-a/?ind=1677780942115&filename=01-misericordioso-e-deus-refrao-orante.mp3&wpdmdl=58533&refresh=64041623315cf1677989411-
It is possible?
Thanks!
This reply has been marked as private.
I want to show top downloads on a page with Link template :- call to action 4.I want options to change the number of columns per device. I cant seem to do that using WPDM top downloads for Elementor as there are no options to set this display. I can alternatively use the Packages plugin for Elementor but I don’t see how I can put the top downloads parameter on the parameters available.
Hello. I just want to know what reasons could cause the blue download button/link to not appear after downloading a pdf document into Download Manager.
I do not have a file size limit on my website. Can you let me know if this has happened in the past and what was done to fix this type of issue?
Thank you.
This reply has been marked as private.