Add the following code after line 235 in /download-manager/tpls/wpdm-all-downloads.php
file,
if( ! wpdm_user_has_access(get_the_ID())) continue;
hope that will work.
Thanks
please use this shortcode on your post/page, https://www.wpdownloadmanager.com/doc/short-codes/wpdm_all_packages-list-all-downloads-in-tabular-format-in-a-page/, if it doesn’t work, if possible, please, give your temporary wp-admin login details in a private reply for checking the issue.
Thanks
Thanks for your answer. Ideally, the values selected as default in the backend (in Downloads > Settings > Default Values) would be the default values for frontend upploader files.
Re-applying the default values everytime a document is created / updated seems like overdoing it.
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
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.
Sir NAyeem plz solve my problem, without Adsense ads using the wpdm is waste for me, because I am not selling anything I am providing free downloads, AdSense are working fine on my all pages, but on wpdm package pages also showing less ads, and on lazy page 0 ads
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]"); ?>
Hi there,
When I create a page template in elementor for the downloads page, it then doesn’t render the WPDM shortcakes, why is that? can we get a fix on this as it really limits the design of download pages.
Working fine now:

The issue was due to other plugin’s js code conflicts, any properly built plugin shouldn’t add js code sitewide, where it is not necessary. However, I’ve added some js code to override the conflict.
WPDM Gutenberg block plugin to generate shortcodes visually.
Hi,
It is better for you if you use the latest version of WPDM, for updating the WPDM, you may follow this procedure, please simply click the Save Settings again for the license key option from Downloads > Settings > License
, which will regenerate the access token. Finally, go to the plugins page and the update will work fine this time, and if you want the older version of WPDM, Please mail support@wpdownloadmanager.com
, I hope you may get the help
thanks
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, 3 months ago by
Tom.
Hi. Have a serious problem.
Moved from test server. changed the root folder accordingly.
Now, all the previous attached files are not there anymore. In addition, If I try to set them manually, Form lock rotates and nothing happens. We have 300+ Downloads, thats serious.
Help?
This reply has been marked as private.
Please simply click the Save Settings again for the license key option from Downloads > Settings > License
, which will regenerate the access token. Finally, go to the plugins page and the update will work fine this time
and for add-on for now,
1 ) Download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
2 ) Install the latest version
thanks
Normally, in WP when I go to my “Downloads” (for WPDM) I see my list of documents and a column that showed the shortcode for each document. That column is gone and I can’t find the shortcode anywhere for my individual documents. Please advise.
https://www.screencast.com/t/6xJnmDJ5loMp Where is my missing column? Or, where have the shortcodes been moved?
Thank you.
This reply has been marked as private.
Specifically, it is about this page: http://wordpress.p568699.webspaceconfig.de/downloads/ (Password: WETRA2020)
Hello!
On a client site, we use the download manager, with which we offer about 300+ downloads.
On the page “Downloads” all documents are divided into different categories. As soon as I switch to the second page of a category, the page is reloaded and I am back at the top of the page. This is quite annoying when you have about 10 categories and have to search for the right area again.
Therefore the question: Is it possible to display the second page of a category without reloading the page? Or if the page is reloaded, does it automatically scroll back to the category where you clicked on page 2?
I would be very happy to hear from you!
Thank you very much & best regards,
Manuel
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!
Please simply click the Save Settings again for the license key option from Downloads > Settings > License, which will regenerate the access token. Finally, go to the plugins page and the update will work fine this time
and for add-on for now,
1 ) Download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
2 ) Install the latest version
thanks
I have checked that Downloads > All Packages is working fine from your side with your login credentials, can you please adjust the option appending with this parameter, edit.php?post_status=draft&post_type=wpdmpro
in your URL for the attached screenshot, please check and let me know
thanks
This reply has been marked as private.