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
Sometimes, you may need to move your license to a different domain, like development to production, in such cases, you can remove the linked domain to use the key with a new domain.
For documentation, pay a visit here: https://www.wpdownloadmanager.com/doc/settings/license/
After recently updating my version of the Download Manager I’m experiencing issues with managing templates. I’m unable to preview templates, or create new ones (via cloning). More generally the template manager frequently freezes, and I can only leave the page using the back button of my browser. Can someone please address this issue? Thanks.
I’ve just implemented my first page with download files on a page built with Divi 5. I am using shortcodes with the template=link-template-default-ext parameter for 7 different files on the page. Everything looks and works like it should, but the file sizes are all showing “269.32 KB”. One of the files is close to that number, but others are over 250 MB. Unfortunately, I can’t share the page, as the files are proprietary.
Thank you for your understanding and cooperation.
The Archive page compact would be the best solution for you, you can check it from here.
This view is coming from our Directory add-on: https://www.wpdownloadmanager.com/download/wpdm-directory-add-on/
If you want to display 20 packages for wpdm_all_packages then you can use this shortcode:
[wpdm_all_packages login=1 thumb=0 items_per_page="20" jstable=0 order_by="field_name" order="ASC" cols="title,file_count,download_count|categories|author_name|update_date|download_link" colheads="Title|Categories|Author|Update Date|Download::155px"]
Here you can find all the download manager shortcodes: https://www.wpdownloadmanager.com/doc/short-codes/
Please let me know, if you require further assistance.
Regards
Could you let me know where you found this code?
<p><!– wp:download-manager/datatable {“include_children”:true,”operator”:”AND”,”items_per_page”:”20″,”cols”:”icon|page_link|categories|download_link”,”colheads”:”|اسم الكتاب|التصنيف|تحميل”} /–></p>
Hello,
Thanks for reaching out.
Kindly try using this short-code
[wpdm_all_packages login=1 thumb=0 items_per_page="20" jstable=0 order_by="field_name" order="ASC" cols="icon|page_link|categories|download_link" colheads="|Book Title|Category|Download"]
Let me know if this works.
Regards
Hi,
We have been experiencing an issue with the pagination buttons in our library section — they suddenly stopped before maybe some weeks appearing a while ago, and we’re not sure why.
We have already disabled all other plugins to check for any possible conflicts, but the problem still persists.
We know that we can still get the pagination working using the simple shortcode below:
[wpdm_all_packages items_per_page="20" paging="1" jstable="0" cols="icon|page_link|categories|download_link" colheads="|Book Title|Category|Download"]
However, what we really need (Very important ) is to restore the full toolbar above the table, which includes the search box and the category dropdown, as it was before.
The code that we use now is:
<p><!– wp:download-manager/datatable {“include_children”:true,”operator”:”AND”,”items_per_page”:”20″,”cols”:”icon|page_link|categories|download_link”,”colheads”:”|اسم الكتاب|التصنيف|تحميل”} /–></p>
Here is the link to our library page:
مكتبة قنشرين المسيحية
Could you please help us understand why the pagination disappeared and how we can bring back the search and category toolbar at the top of the table while keeping pagination active?
Thank you for your support and great plugin,
Pierre
Hello Nayeem,
sorry for delay but have been off for a while 😀
1. Might be something like that, yes. We normally let customers directly download PDF via a ‘Download’ button (it’s then a browser’s download), but if that was via a one time link to donwload document then it might anyhow fit client’s request in some way. Even if need would be after it has been downloaded, that is I download from one time access link but then send downloaded PDF to others (but maybe onetime access works differently…)
2. if this could help in preventing or reducing willing to share then yes! And meanwhile seen there’s PDF Stamper add-on which seems does right this with image or customer’s details or both, and also include options to prevent copy of content (other client’s request), its amends and others.
Thank you
Please use this code snippet in your active theme functions.php file ,
/**
* Add download link actions for editors in Download Manager packages
*/
function add_download_actions_for_editors($actions, $post) {
if ($post->post_type == 'wpdmpro' && current_user_can('editor') && !current_user_can('manage_options')) {
if ($post->post_status == 'publish') {
$actions['download_link'] = '<a title="' . __( "Generate Download URL", "download-manager" ) . '" href="#" class="gdl_action w3eden"
data-mdlu="' . WPDM()->package->getMasterDownloadURL( $post->ID ) . '" data-toggle="modal" data-target="#gdluModal" data-pid="' . $post->ID .
'"><i class="far fa-arrow-alt-circle-down color-purple"></i></a>';
}
}
return $actions;
}
add_filter('post_row_actions', 'add_download_actions_for_editors', 20, 2);
Thus I hope it will resolve your issue then. Please kindly check.
Thank you
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
Download – settings- default values – Enable Email Lock
this is not working. As a user I am getting the download link in my email. But when I click on this, it says — Invalid download link .
How to resolve this..
Does the issue page not found happening for all downloads? Can you please try saving permalink settings again, thus it may flush the settings. Please kindly check.
Thank you
I think your new site proper migration is not happend, please check your site settings, permalink settings also if you know debugging you can check through debugging why the download page is not coming. Please kindly check.
Thank you
Hello Nayeem Riddhi,
Thanks a lot for your response. I figured that the Form Lock would be my best option to achieve what I need.
Also thanks for sharing the links to the different options. I’ve had a look at them and they do not show clearly how to:
- set it up that I can add the name of the document being downloaded is shown inside of the email content (WPForms)
Could you advice on how to do this. I just want to make double sure that I can do what I need it to do before I purchase the needed add-on’s.
This reply has been marked as private.
I would like to include a link to a related image on the download details page. Is there a way to do this?
I would like to add a link to a page that has registered tags similar to the ones displayed.
Please let me know if there are any other ways to do this.
There should be a 4th tag option under Tags on the left. We added an additional tag, and it is on 2 products but cannot get it to show as a search option. https://www.poweredgeproducts.com/downloads/
We have turned off all plugins to find the issue with no luck. We also tried a default theme which also had no effect.
Here is the shortcode we are using: [wpdm_archive_filter items_per_page=”6″ template=”link-template-tabcard” cols=2 colspad=1 colsphone=1 orderby=”title” order=”asc”]
Any help would be greatly appreciated.
Hi. Thank you for your reply. The URL is this https://www.peprimary.co.uk/index.php/sample/
If you click on Sample materials menu option, you will see the Download button will give you an error message. But clicking on the link to Zip package, lists the files and allows download of individual ones.
This reply has been marked as private.
Sorry, i am a new user with WPDM. I installed the Pro Version and the Add On WPDM Directory. After inserting for example “[wpdm_archive_compact template=”link-template-default-nl” cols=2 colspad=1 colsphone=1 items_per_page=”10″ orderby=”title” order=”ASC” login=1]” no content is shown on the page. I also can not display “all download”. I have stored some Files succesfully. What am i doing wrong?
Best Andreas