Hello,
I am writing to seek assistance with a challenge I’ve encountered while using the Pro version of WP Download Manager (WPDM).
I have created a custom PHP template for the links, and within the template, I have included a call to display the custom field “expiration date” immediately after the links.
The issue I’m facing is that the custom template works perfectly when used independently. However, when I associate it with the Download Manager shortcode that allows package filtering, the “expiration date” is no longer displayed.
After analyzing the code, I noticed that the shortcode does not provide access to the individual package IDs, which consequently prevents access to the custom field.
To illustrate this issue, you can visit the following page: https://new.ospedaliriunitipalermo.it/archivio-delibere/ and enter the password “olomedia.”
On the page, you will notice two blocks of links. In the first block, the expiration date is displayed alongside each link, and I have also printed the IDs, which are all correct. However, in the second block, where the search fields are located, the same ID “5798” is displayed for each package, which is not the post’s ID but rather the one from the page where I inserted the following shortcode:
[wpdm_category id="delibere, archivio-delibere" operator="IN" toolbar="1" paging="1" orderby="update date" order="desc" items_per_page="10" template="olomedia_show-exp-date" cols=1 colspad=1 colsphone=1 async=1]
I am eager to resolve this issue and ensure that the expiration date is correctly displayed even when using the shortcode for package filtering. Your guidance and assistance in solving this matter would be greatly appreciated.
Thank you for your prompt attention to this matter. I look forward to your response.
Best regards
Hi,
i cant see “Link template” in the package settings for any file. if you can check?
in my case i cant see link template, i just see page template:
Thanks
Hi guys,
I cant really use the plugin, because all visuals are completely screwed up.
Example: This is the [wpdm_packages author="1" login="1" paging="1" orderby="field name" order="asc or desc" items_per_page="10" template="Link Template ID" cols=4 colspad=2 colsphone=1] shortcode:
👉 https://diy.woodstein.dk/sfss/
It’s renewing in 20 days, but if I cant find some kind of fix for this, we have to stop it from renewing.
I’ve tried disabling all plugins, so it’s not any of those. Download manager must just not be compatible with my theme i suppose.
anyone got any ideas?
Hi I have been using the download manager on my website with no issues until now. I have a website where i sell beats and instrumental music. the most recent audio I have uploaded is giving me issues for some reason. Instead of just automatically downloading the file once you enter an email and name, it takes me to another tab. An all black page with the audio player. I have also duplicated the same settings as the other audio that is working fine so this should not happen. This is the link in case you wanted to see for yourself. https://pyrosdancehall.com/beat/pieces-riddim-stalk-ashley-x-dexta-daps-type-beat-15837245. All the others work normally here is a link in case you wanted to compare https://pyrosdancehall.com/beat/war-heads-riddim-skillibeng-x-skeng-type-beat-15837245. Try to download both and see what i mean
Hello,
I’m using download manager with wpdm-advanced-access-control.
Everything is fine except the password recovery: if I click “lost password” and write my email address I actually receive the link to reset passwd, but the link leads to a login module, not to a new password setting.
How can I solve this? I could provide link and admin access if needed
Thanks,
Giuseppe
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?
Is there a way to get the download link directly through PHP?