This reply has been marked as private.
Attach all 3 files with the same package and add custom file title specifying the language. Then in link template, use [file_download_links] instead of [download_link] tag and in page template [file_list] or [file_download_links]
On the package page that the permalink points to, there is an extra image that has nothing to do with the package. In this link, the unwanted image is the dark blue one on the right. It’s one of the images from my website, but it isn’t related to this package. I’m using the “Single Column, Flat” page template for this package. I’ve looked all over, but I can’t figure out how to get rid of it.
https://loco4learning.com/download/pt-tracker-v5-3-for-windows/
All my permalink pages have the same image on the right. I didn’t notice that it was a problem before because that image is appropriate for the other packages.
hi
For the Subscribers, when some Subscribers show approved and some show downloaded ?
And, approved will get the download link, downloaded will not.
What is problem ?
Hello,
we have make display as follows for our datasheets for customer download.
Product Documentation
It works no problem for download when you click the <download button>, but when you click the other places except the <download button>, there will open in a new page under a new url. We DO NOT need it open in a new link, just click the <download button>, that is enough.
Please help how to prohibit to creat new links for each pakages ?
we tried to edit the link template and remvoe the page url from there, but it still not work.
kinldy help. thanks
This reply has been marked as private.
This reply has been marked as private.
Good morning, thank you for your response. To clarify, we do not want the download button and we want the document title to provide a direct download link when clicked. We do not want the link to bring the user to the download page. It should simply download the file when clicked. I have modified the all-packages-shortcode.php file but would rather not be running with a modified file.
Hello,
Thank you for writing to us.
Yes, you can implement such functionality.
Simply put page_link|categories|download_link in the Data field name and Title|Categories|Download in the column heading.
Here’s the configuration screenshot: https://prnt.sc/Rnr8hjuo4ACU
Regards
Second question: where do i go to modify the text:
Please support us, use one of the buttons below to unlock the download link. (from the popup box)
Because The text does not make sense. I only offer to share but it says like or share …
I can edit from the php file if you tell me where it is …
Good day! We’ve noticed that when using the Elementor WPDM add-on and adding a package list a nicely formatted table as added. This is exactly what we want. However, the file icon and the file title are not links, there is no way to download the file while using this package table. also, we’d prefer not to have the download buttons shown. We like the appearance of the table without the button, but it does us no good if we can download the files. The only link is the category text. Below is an example of the code that is generated. How can we have this same table but with the image and the package title be direct download links to the file itself (not to the package download page).
<table id="wpdmmydls-066a18a6ef5f9ea80e3d04d68d8780f4">
<thead>
<tr>
<th id="title"
>Title</th>
<th id="categories"
>Categories</th>
</tr>
</thead>
<tbody>
<tr>
<td
style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat: no-repeat;padding-left: 52px;line-height: normal;">
<strong>ShoreTel Analog Phone Quick Reference (pdf)</strong><br/>
</td>
<td
>
<a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
</td>
</tr>
<tr>
<td
style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat: no-repeat;padding-left: 52px;line-height: normal;">
<strong>ShoreTel 560 Phone Quick Reference (pdf)</strong><br/>
</td>
<td
>
<a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
</td>
</tr>
<tr>
<td
style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat: no-repeat;padding-left: 52px;line-height: normal;">
<strong>ShoreTel 230 Quick Phone Reference (pdf)</strong><br/>
</td>
<td
>
<a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
</td>
</tr>
<tr>
<td
style="background-image: url('http://intranet.pchc.local/wp-content/plugins/download-manager/assets/file-type-icons/pdf.svg');background-size: 36px;background-position: 5px 8px;background-repeat: no-repeat;padding-left: 52px;line-height: normal;">
<strong>ShoreTel Communicator for Windows (pdf)</strong><br/>
</td>
<td
>
<a class='sbyc' href='http://intranet.pchc.local/?p=22150&tax%5Bwpdmcategory%5D=shoretel'>ShoreTel</a>
</td>
</tr>
</tbody>
</table>
<ul class='pagination wpdm-pagination pagination-centered text-center'></ul>
This reply has been marked as private.
This reply has been marked as private.
Hello,
In download package page, link template is not needed.Because download package will show only page template. You can use it by adding link template id in shortcodes
https://www.wpdownloadmanager.com/doc/short-codes/
Regards
Tanvir
Hello,
WIth free version you can not edit link template.
You can follow the doc here:
https://www.wpdownloadmanager.com/doc/templates/link-template/
You can find template id below:

Regards
Tanvir
This reply has been marked as private.
Hi,
Your used template name ( template="Single Column with Doc Preview" ). But there you need to use template ID ( template="link-template-calltoaction3" ).
Please read:
https://www.wpdownloadmanager.com/doc/short-codes/wpdm_category-query-all-downloads-from-one-or-more-categories/
This reply has been marked as private.
Hello Nayeem 🙂
Thank you! Where is the documentation for this API?
Is this correct:
$data['download_link'] = WPDM()->package->downloadLink($data['ID'], 0, array(
'template_type' ► 'url'
));
And this ?
$data['files'] = WPDM()->package->getFiles(get_the_ID());
Kind regards,
Cedric
Hello Noomia SPRL,
You can try this, <?php echo WPDM()->package->downloadLink($ID); ?> in your related page/link template file. I hope it will work fine for you. please check and let me know
Thank you and regards
Hello Noomia SPRL,
You can simply use the template tag [download_link], it will work fine for you. please check and let me know
Thank you and regards
Hello Nayeem 🙂
No problem. I have backups yes, but I don’t want to use the default template file. In fact, I only need to know by which function you have replace \WPDM\Package::downloadLink(), as it seems it’s not available anymore 🙂
I’m a developer, so you can be techy 😉
Kind regards,
Cedric
Hello, I tried adjustments mentioned in other forum posts, but still could not fix it.
I created search shortcode on frontpage (everything ok), and also a post page including search shortcode.
In other pages the search shortcode is working ok, but not in frontpage (using astra theme).
I tried different themes and disabling plugins, but still having issues.
I also tried search results widget on both frontpage and post, it works but without the link template (it returns not formatted text and without download links).
Hello there 🙂
I hope you’re fine?
My website was running WPDM 5.3.3 without any issue. Now, I’ve tried to update to 6.3.3 but I have a fatal error that breaks the site:
PHP Fatal error: Uncaught Error: Class 'WPDM\Package' not found
This code is in one of my template file. If I comment the lines, the site is “working” again but with some missing infos (due to these commented lines).
Here are the lines:
– $data['download_link'] = \WPDM\Package::downloadLink($data['ID'], 0, array(
'template_type' ► 'url'
));
– $files = \WPDM\Package::getFiles($data['ID']);
I guess that this method is not available anymore. But could you tell me how I should replace my code in order to make it work again?
Kind regards,
Cedric
Hello the update released today appears to have fixed one of the errors that was showing in error log but still getting a white screen when accessing the POS link https://test4.sksheep.com/pos
When I disable Download Manager it works perfectly fine.
This error still shows
2023/05/01 18:48:12 [error] 1529781#1529781: *281177 FastCGI sent in stderr: "PHP message: Payment gateway with handle 'wc-payment-method-cheque' has been deactivated in Cart and Checkout blocks because its dependency 'wp-i18n' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets" while reading response header fro1#1529781: *281177 FastCGI sent in stderr: "PHP message: Payment gateway with handle 'wc-payment-method-cheque' has been deactivated in Cart and Checkout blocks because its dependency 'wp-i18n' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets" while reading response header from upstream, client: 74.206.147.19, server: test4.sksheep.com, request: "GET /pos HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php80-fpm-test4.sksheep.com.sock:", host: "test4.sksheep.com"
2023/05/01 18:49:35 [error] 1529781#1529781: *281177 FastCGI sent in stderr: "PHP message: Payment gateway with handle 'wc-payment-method-cheque' has been deactivated in Cart and Checkout blocks because its dependency 'wp-i18n' is not registered. Read the docs about registering assets for payment methods: https://github.com/woocommerce/woocommerce-blocks/blob/060f63c04f0f34f645200b5d4da9212125c49177/docs/third-party-developers/extensibility/checkout-payment-methods/payment-method-integration.md#registering-assets" while reading response header from upstream, client: 74.206.147.19, server: test4.sksheep.com, request: "GET /pos HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php80-fpm-test4.sksheep.com.sock:", host: "test4.sksheep.com"