Hi @ikram_dirujii,
Please use this Pastebin code,
https://pastebin.com/WTZ1KAaT
I have added the below lines download-manager\src\Package\views\all-packages-shortcode.php file in line number 288
$data['download_link'] = "<a target='_blank' class='btn btn-primary' href='".get_permalink($data['ID'])."'>"."Download"."</a>";
$download_link = $data['download_link'];
commenting out this line
//$data['download_link'] = WPDM()->package->downloadLink($data['ID'], 0, array('template_type' ► 'link'));
I hope it should open a new tab for the related packages
and for making back up the file for the next update, please follow this doc, https://www.wpdownloadmanager.com/doc/template-files/
thank you and regards
This reply has been marked as private.
Hi
I have the latest versions:
Download Manager: 6.0.4
WPDM – Extended Short-codes: 2.9.0
It is since updating to these versions the download link has stopped working.
Any other ideas?
This reply has been marked as private.
Hi
Following the update to 6.0.4 this morning my links that open a file download in a pop-up have stopped working.
It seems to be causing a Jquery 500 error.
Any ideas why or how to solve this?
I will send you a link to check it in a private message
Hello,
I see visiting that link you provided is automatically showing all downloads and you dont need to press home.
However you can try different parameters from here like categories of shortcode to show:
Hello,
You can make a private page or page to specific user roles in wordpress you can send the page link to direct audience.
or You can check this addon to assign specific users:
Advanced Access Control
This reply has been marked as private.
View post on imgur.com
i wanted to hide that user manual I don’t wan to let people see it. especially the public.
Customers will be given a direct link to download the user manual. Audience who are not selected to see will not see this file in the download manager is there a way to hide it?
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
Hello,
Sorry for the inconvenience.
Please use link-template id instead of page template ID in the shortcode section by following this.
You can obtain a link template ID by following this.
More details about the shortcode can be found here.
Thank you
Hello @hdebeuf,
Hi @proudbrands,
Sorry for the inconvenience.
If you are using the latest version of WPDM Directory Add-on then please follow this in order to use the latest updated shortcode.
Example correct shortcode: [wpdm_archive button_style=”default” template=”link-template-default-ext” cols=”1″ items_per_page=”10″ order=”asc”]
Hope your problem will be solved now.
Thank you
Hello @naughtycocktailparties/,
Hope you are well.
If you are using the latest version of the WPDM Directory Add-on then please use the latest shortcode by following this.
You are using an older shortcode that’s why it’s showing like that.
The correct shortcode should be like the below now.
[wpdm_archive button_style="default" template="link-template-default" cols=1 items_per_page="9" orderby="title" order="ASC]
Hope you understand now.
Thank you
Yesterday, 07/15/21, my archive page for my download center completely stopped working on the website and just shows the code. This is the code that I’ve been using since I purchased this plugin. I’ve tried updating it to the codes listed on your website, but none seem to be working. What can I do to fix this to get my downloads live again?
[wpdm-archive button_style=”inverse” link_template=”default” order_by=”post_title” order=”asc” items_per_page=”9″ cat_view=”compact” cols=1]
This reply has been marked as private.
This reply has been marked as private.
Hi @trikdis
Hope you are well. if you are searching for link-template/page-template, please check this directory
plugins\download-manager\src\Package\views
I hope it will help you
Thank you
<a href="[download_url]" target="_blank" rel="noopener">[link_label]</a>
Hello,
Thanks, it works fine.
With the link in the header I have done the same with an html code that I have downloaded from the internet:
<a href="[download_url]" target="_blank" rel="noopener">[link_label]</a>
I wanted to ask you if it is correct or do you recommend another option. It works well.
Thanks
This reply has been marked as private.
Hello,
it is possible to open the [file_list] download links in a new window
Greetings
This reply has been marked as private.
This reply has been marked as private.