Thanks for the reply! I’ve copied the default.html into my themes/template/download-manager/email-templates folder and removed those links, but it doesn’t work, WPDM is still catching the original default.html from the plugins directory. Can you check what’s going on there?
-
This reply was modified 4 years, 5 months ago by
Matthias B.
You can use download-manager\email-templates\default.html
and customize the template as your requirement and there you shall also find the link for facebook and twitter. please check
thanks
I am trying to do the table like on this demo: http://demo.wpdownloadmanager.com/wpdmpro/package-list-in-responsive-table/
Most of it works fine except the download titles do not link to the individual download pages like in the demo. Can you help me make that happen? Thank you
Sir since few days I know I also disturbed you, peoples, a lot, but I am facing new problems daily, today the lazy add-on plugin downloading the same file or random file. I mean when I activate the lazy addon then it’s downloading the same file even if I click on different download links or it is downloading the random file, I mean not downloading the exact file. and when I deactivate the lazy addon then everything is ok. even I did not do anything with this plugin, I just continue adding my data. so sir please fix this addon, basically, I need to secure my links so if it is possible without the lazy addon then I will not use the lazy plugin. Sir watch the video. video link
Sir i tried a lot from thewpdm-all-downloads.php file inside in the tpls3 folder, I did other all changes but I did not understand the link, so I want to open the [page_url] instead of download_link
SIR I AM USING THIS SHORT CODE and I want to not show some category in that table, I know about how to include multiple categories sir, but I want to know about excluding of the categories [wpdm_all_packages items_per_page=10 jstable=1 thumb=1 categories order="DESC" cols="page_link,download_count,package_size|publish_date|download_link" colheads="File Name|Update Date|Download::155px"]
MY SECOND QUESTION IS THAT SIR HOW I CAN OPEN THE PACKAGE PAGE INSTEAD OF FILE DOWNLOAD WITH THAT DOWNLOAD BUTTON. I MEAN WHEN USER CLICK ON THAT DOWNLOAD BUTTON, SO THE PACKAGE PAGE SHOULD OPEN, NOT DOWNLOAD THE FILE DIRECTLY, ALSO I WANT TO OEPN IN NEW TAB SIR, PLEASE GUID ABOUT THIS.
View post on imgur.com
Sir when a user visits the first time and click on any element on the website, so google Adsense full-screen ad coming, the same thing is working on wpdm package link and on the category link, but in that case, the full-screen ad not coming on the wpdm download button, even it is the first click of the user. so I thing all the problem starting from the download link button.
This reply has been marked as private.
Respected sir i appreciate your support to me, but sir the problem is in the addon, my AdSense ads working on my all website, even on m=every wpdm category page, in wpdm package pages, but on the lazy download page it is not working. if you will remove the lazy addon link from that same page then the ad will start work. I created a new page and checked the shortcode of the lazy addon, but the problem is still there
Activating lazy download, I just checked now, download is working fine on button click:

Also, the ad frame is loading, so, it is not related to the add-on.

However, I’m still checking it to find whatever the reason is for now showing the ad.
Also, may you please create a new page with ad, but without lazy download add-on shortcode and send me the link.
This reply has been marked as private.
Thanks. I have resolved that issue but now have a new one.
1) How do I create a grid of flip-card items that are part of the same package
2) My shortcodes do not work.
For example:
[wpdm_all_packages login=1 thumb=1 items_per_page="20" categories="free-financial-calculator-downloads" jstable=1 order_by="field_name" order="ASC/DESC" cols="title,file_count,download_count|categories|download_link" colheads="Title|Categories|Download::155px"]
displays with no problem
But this does not display:
[wpdm_package id='271915']
We are using “classic editor” and will not use Gutenberg.
Thanks for your help.
Hi, I’m using the following to query all downloads from a specified tag – however the item_per_page parameter doesn’t seem to be working, no matter if I specify 5 or 50, for example. It just shows 10 and only 10.
<?php echo do_shortcode("[wpdm_tag id='foobar' item_per_page='50' order_by='update_date' order='desc' template='foobar-link' toolbar='0' cols=1 colspad=1 colsphone=1]"); ?>
Sir Nayeem when I am viewing the lazy download page, without download the file, then the ads working, but when I click on file download and go to the lazy page, then ads not working, I think it is happening because of so lengthy URL. you know during countdown the URL is making too long, so please sir check this, I am also attaching the video.
video link
I have now tried again and found that the downloads are no longer accessible until I execute the following SQL command in the database:
UPDATE wp_postmeta SET meta_value = replace(meta_value,'http://old.url','http://new.url');
Of course, I have adapted “old.url” and “new.url” to my URLs.
Before, all downloads were still linked, but after this command they were no longer. How can I correct this?
-
This reply was modified 4 years, 5 months ago by
Tom.
This reply has been marked as private.
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 tpls>page-templates
for page template or tpls>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.
Thanks.
you can customize the link-template and use the [title]
template tag, for more reference, you can check this doc, https://www.wpdownloadmanager.com/doc/templates/template-tags/
thanks
you can use customize or pre-built link-templates in that shortcode and to open a new page for the download link you can customize the link-template PHP file for the related download link tags
thanks
I’ve got it fixed! Thanks to your tip about the version I thought about checking my custom wpdm-all-downloads.php file in my child-theme.
It contained old code, just copied the new code from the latest version into that file and tested it.
It’s now working, the download link shows as:
<a class="wpdm-download-link download-on-click btn btn-primary " rel="nofollow" href="#" data-downloadurl="https://linkhere.com">Downloaden</a>
Thanks for the quick reply!
The website is private and I cannot make it public in an instance.
The download links have the following HTML:
<a class="wpdm-download-link wpdm-download-locked" rel="nofollow" href="#" onclick="location.href='https://linkhere';return false;"><i class=""></i>Downloaden</a>
The link is created by this code in my custom wpdm-all-downloads.php file:
<td class="pdf-file">
<small>
<?php
$number_files = count($data['files']);
if ($number_files == 0){
echo "<span style='color:#cccccc'>Niet beschikbaar</span>";
} else {
echo "(" . $number_files . ") " . $download_link;
}
?>
</small>
</td>
The $download_link outputs the HTML with the classes: “wpdm-download-link wpdm-download-locked”.
What is the right way to remove them?
I’ve found a few parts of this code in the wpdm-functions.php file, but it won’t change when I edit it and place it in my Child-theme.
Thanks again!
Hi Guys,
I’ve got the exact same problem.
How can I remove the “wpdm-download-link wpdm-download-locked” classes from the download link?
If I manually remove them via Chrome console, it works without the expiration notification.
Thanks in advance!
This is related to generate the download URL for your downloading the package, but if you wish for hiding the source code, there is a way you can disable the right click with any wp free plugin. thus you may also protect the links/URLs
thanks
Your video link has been aborted by my connection, I can’t able to access the link, please check, and if you mask the download URL then it shouldn’t be copyable
thanks