This reply has been marked as private.
I have created two categories with this plug in, so the 2 link are “https://example.com/download-category/example
But I see that error in Search Console
This reply has been marked as private.
okay now, had to select hide only download link option from wpdm settings.
https://prnt.sc/lVcyMWgu7S0P
I am trying to enable my client to embed videos uploaded in Download Manager Pro in their news posts. I have gotten this to work successfully for attaching regular files to news posts, but it does not work for video embeds so far.
The setup is as follows:
– I have created a repeater field in ACF Pro, with a post object field inside. This allows my client to select one of the DM Pro posts with a video. The ACF field is set to return the post ID, as this works for attaching regular files.
– I have also created a link template in DM Pro with only this shortcode inside: [video_player_800x500]. When previewing, it shows a video player.
– Inside the single news post template (Elementor Pro), I have added an ACF Repeater widget, with my ACF repeater field set as source. The layout is set to another Elementor template, which contains a shortcode widget with the following code: [wpdm_package id=”[acf:select_resources_video]” template=”embed-video”].
– The same setup works perfectly for regular DM Pro files, but for the videos, it is not showing the ’embed-video’ template layout, but a basic regular layout instead, see the screenshot.
Since updating to WPDM 6.3.6, when we upload and new PDF, and try to view it on a page in the PDF Viewer, we are getting this error:
Invalid or corrupted PDF file
PDF.js v2.14.305 (build: eaaa8b4ad)
Message: Invalid PDF structure.
And when we try to download it clicking on the Download link, we get this error:
Package you are trying to download is not available!
Having searched some forums, we found that in some cases, adding a wildcard * in the settings for the Upload file type would resolve this issue, however we have done that, and it hasn’t made any difference.
Are you able to provide some assistance please?
This reply has been marked as private.
And if you want to generate expirable download link:
WPDM()->package->expirableDownloadLink($ID, 3);
3 = Usage limit
Hello Paul,
Greetings for the day.
You can get the download link through PHP by using the below code.
<?php echo \WPDM\Package::downloadLink($ID); ?>
Please check our documentation for more details: https://www.wpdownloadmanager.com/doc/templates/template-tags/
Regards
Is there a way to get the download link directly through PHP?
Thanks, I had tried that already, but it did not work. I’ve changed the shortcode to this now to give you an example:
[wpdm_all_packages items_per_page="10" jstable=1 order_by="publish_date" order="DESC" thumb=1 cols="title,file_count,download_count|sectors|categories|publish_date|author_name|download_link" colheads="Title::200px|Sectors::120px|Categories::120px|Publish Date::120px|Author::120px|Download"]
The ‘::120px’ sets ‘max-width: 120px’, but this seems to be overridden by ‘width: 150px’, which is set inline by your plugin.
The ‘title’ field is even more weird, as your plugin sets a width of 367px inline, the shortcode adds a max-width of 200px, but the actual width shown is 259px.
This time after deactivating Simple SSL nothing changed. But I’ve noticed when I copy the download link manually file downloads.
Also, I noticed that when the link ends with “&refresh=64dc7b24aeb891692171044” the download won’t start. After deleting that ending download starting as usual and everything is fine. Maybe this is the case? If yes how to manage that?
This reply has been marked as private.
For the download button link label, you can check this option as I image attached from package settings

This option is also available in the default value add-on. please check and let me know
Thank you and regards
Hi,
You simply need to click on update now link:

Is it possible to show a message to users that do not have access to download a package? Currently, if the user has access, they see the Link Template, which includes the download, but if the user does not have access, the space is blank. Can I display a message for them instead of a space?
Hi David,
Thanks for contacting us.
We can’t guarantee that the exact design is possible as it may need customization.
However, you can use link template and page template to use different pre-build templates created by us.
Templates
You may also edit templates according to you needs.
Regards
Tanvir
Here is a link to test one package. Donwlod the xlsx file and you will see that is corrupted. But, if you zip the files, they dont get corrupted. Only happens in single file download.
https://cursos.canalsolar.com.br/download/test/
Hi Download Manager,
Is it possible to revert back to a simpler method where clicking the download buttons directly initiates file downloads? How can I eliminate the loading animation and disable the modal dialog box?
Currently, when clicking on the download button, a Modal-Dialog Box opens, requiring an additional download click. I’d like to streamline this process. Could we replace the current download button link, which points to ‘#unlock’, with link using ‘data-download’ for direct file access?
For a visual reference, please refer to the accompanying video
Hello guys, on Chrome, some pdf downloads are not working. On Edge, I get a message that some PDFs cannot be downloaded securely. What should I do? What could be the problem? And how can I research this problem?
I tried to disable all plugins. Clear the cache. Reupload the file. Downgrade WPDM plugin.
I noticed that when copying the link from the button and opening it in a new window, the file downloads without a problem. https://www.trikdis.com/all-downloads/
Thanks 🙂
Hello Acuarel Lab,
Hope you are well. And sorry for the inconvenience. For categories hierarchy, giving access to a certain category for a particular role you have to set from the edit category option, then you have to make empty for the Allow Access option or have to give a particular role on it like as I image attached or as usual for the select member option too,

because
Package Access = Package Access + All Category Access = All Visitors + Author = All Visitors
and Package Access = Package Access empty + Category Access(Author) = Author
or Package Access = Package Access(Author) + Category Access(Author) = Author
More details can be found in the below link,
Allow Access: Access Control Option
I hope you have understood now.
please check and let me know. If the problem persists you can also share the related URL. if possible, you can also give your temporary wp-admin login details in a private reply for checking the issue.
Thank you again and regards
We have three subscription plans. Any user that is signed up to the Unlimited plan, can’t see the download links for files on the front end. Can someone have a look and see why they’re not visible on the front end? I’ll post temp login details in a private reply
This reply has been marked as private.