Hello,
Hope you are well.
To enable to preview feature of pdf, you have to use the below addon with wpdm.
WordPress PDF Viewer
And then you can remove the download button by editing link template or page template so only preview will be available.
Thanks
In the file download-manager\src\Admin\Menu\Packages.php
Change this code:
if(file_exists(UPLOAD_DIR.$name) && get_option(‘__wpdm_overwrrite_file’,0)==1){
@unlink(UPLOAD_DIR.$name);
}
if(file_exists(UPLOAD_DIR.$name) && !isset($_REQUEST[“chunks”]))
$filename = time().’wpdm_’.$name;
else
$filename = $name;
/$filename = esc_html($filename);
if(get_option(‘__wpdm_sanitize_filename’, 0) == 1)
$filename = sanitize_file_name($filename);
else {
$filename = str_replace([“/”, “\\”], “_”, $filename);
}
To this:
if(get_option(‘__wpdm_sanitize_filename’, 0) == 1){
$filename = sanitize_file_name($name);
}else {
$filename = str_replace([“/”, “\\”], “_”, $name);
}
if(file_exists(UPLOAD_DIR.$filename) && get_option(‘__wpdm_overwrrite_file’,0)==1){
@unlink(UPLOAD_DIR.$filename);
}
if(file_exists(UPLOAD_DIR.$filename) && !isset($_REQUEST[“chunks”])){
$filename = time().’wpdm_’.$filename;
}
Hi,
With that shortcode, the file is displayed on tne browser, but not downloaded when I click on the “download” button !
[wpdm_category id="documents-logo" toolbar="0" template="link-template-default-ext"]
I cant also understand the “page templates” ??? is there a template to display packages by categories, and how that works?
Many thanks for help
Hello Adams,
You can use custom link-template within these pages for download packages and remove the download count and file size section. Thus, It may help you. please check and let me know.
Thank you and regards
Hello Nayeem,
thank you. So it is good.
From my first Post is one thing open.
“– On my Linkpage the Downloads were smaller and smaller. Where can I change it.”
See the first Post please…
Hello Adams,
please try with the below code in your theme Customizer > Additional CSS
.post-22933 .wpdm-download-link.btn {
width: 115px;
margin: 0 auto;
display: flex;
justify-content: center;
}
.post-22937 .wpdm-download-link.btn {
width: 115px;
margin: 0 auto;
display: flex;
justify-content: center;
}
.post-22935 .wpdm-download-link.btn {
width: 115px;
margin: 0 auto;
display: flex;
justify-content: center;
}
I hope it will be worked properly then. please let me know
Thank you and regards
Hello,
For this you have to edit the link template you are using.
Please follow the below doc:
https://www.wpdownloadmanager.com/doc/templates/link-template/
If still the problem persists, please also share related page url and admin access in a private reply.
Thanks
I’m using the plugin to simply display downloads, https://pghw.org/document-downloads/.
How can I unlink the document title and force everyone to use the download button? https://s.grcwk.co/bLuKrXWD
Hello @bijdageraad,
Greetings and welcome.
You can change it easily from the page template option in the pro version of WPDM.
For the free version, you have to modify the relevant template.
In this case, you can follow the below documentation,
Template Files
By default, you are using link-template-default.php for the link template and page-template-default.php for the page template.
Now copy the files you want to modify from /src/{ComponentDir}/views dir to /{active-theme}/download-manager/ dir.
And you have to replace [download_link] with <a href="[download_url]" class="btn btn-primary" target=_blank>[link_label]</a> in related php file.
Thanks.
This reply has been marked as private.
Hello,
We completely re-worked our website with a new theme, look, feel and functionality. We went live yesterday with the site with the intent of making our Downloads page live after the site changed over.
When I go to import the csv file from the old site, it shows the ‘Uploading’ progress bar, then ‘Importing 1%’ and never progresses any further.
I’m using Divi theme if that makes a difference. I’ll follow up with a reply with credentials and a link to the csv file in a private message.
Thanks,
Brett
Free plugin works fine but the download link opens in the same tab. I want to open in new tab instead of the same tab…
Had small chat advice but cannot find the right files ;-(
Good Morning,

https://www.dxf-downloads.de/downloads/neueste-uploads/
– On my Linkpage the Downloads were smaller and smaller. Where can I change it.
– And the Thumbs show not correctly. I want to show the width 100%.

– On my Page Template. How can I change the Background to transparent btw. white. Not grey. For example after Uploader “Wolfgang968”
Hope anybody can help me. Thanks a lot.
Regards
Hi @Nayeem Riddhi,
I noticed my mistake, I forgot the link/templates folder.
Everything is now more or less how I’d like it (other than the fact downloads still don’t open in a new tab/pop-up and redirect my visitor away from my site to mega.nz).
Final question: How do I use full width on the page-template-default template? It seems to have an empty sidebar “Hot Topics” on the right, I wish to remove this and use full-width so the download’s description isn’t so compact/limited.
I’ve tried WPDM Page Templates but doesn’t work with my theme OceanWP I only have default template (page.php) and Landing Page… my template/theme is set to “Full Width” in settings but Download Manager ignores this as the page isn’t manage by WP (it’s created by Download Manager*).
* If a download “Sample Download” is created via Dashboard > Downloads > Add File the page it creates is mywebsite.com/download/sample-download. The page is handled by Download Manager so isn’t under Dashboard > Pages so i’m unable to set full-width. When I preview the page is Dashboard > Appearance > Customise there is NO sidebar which is telling me Download Manager is adding the sidebar (Hot Topics) itself?
Thanks.
That works for the most part. I do have questions.
How do I do this for the other fields? I just added one called year from a custom field. I couldn’t do it before because nothing was spacing right.
What about the fields that are not from the custom fields? The first and last column for example are directly from the package details. One is the “post_content” and the other is the “download_link”
This reply has been marked as private.
Hello Fredrick,
I have adjusted the font size for your Image Hover Split link-template, from Downloads > Templates > Link-templates > Image Hover Split CSS section. However, for changing the spinner loading image, you can check the loader.svg image from
wp-content\plugins\download-manager\assets\images\loader.svg directory and replace it as your requirements. please check and let me know.
Thank you and regards
I installed extended shortcode add-on for caruosel shortcode, to be able to use this shortcode:
[wpdm_carousel items_per_page=4 template=”fresh_card” wrap=0 items_total=12]
But when I try it, i don´t get the fresh_card template like the example who show the featured image of the package.
Do i have to do something more?
Thks
This is your example where it´s aparently working:
https://try.wpdownloadmanager.com/carousels/
(Also note that in this link, there is an error of spelling in caruosel, instead of carousel…)
Hi,
As per your suggestions in previous ticket I am creating the new topic. Please check below ticket for your reference.
Pro package installed but features not available in settings
We can able to move the newly attached files on the S3 but we unable to found any option in the Download Manager plugin for move the existing files/packages on the S3. For that we need some help from your side.
If you check the below link and click on the download button that the downloaded file comes from the our wordpress server. We need to move those files into S3 and it’s need to download from the S3.
HR Technology Whitepaper
We unable to create and share the wp-admin password for you, because of the compliance issues.
Please check above issue and reply the solutions ASAP.
Thanks.
-
This topic was modified 4 years, 7 months ago by
IT Billing.
Hello,
I have two issues that I’ve trying to deal with:
1. Changing the font size on the Image Hover Splie
2. Changing the Download Logo and Color Scheme of the same to match our logo and brand aesthetic.
I am providing a loomly link below to help you visualize exactly what I’m talking about and trying to accomplish, thank!
https://www.loom.com/share/846f10ad136a427c8a8f30f6c6eedb18
This reply has been marked as private.
After exporting the data from the database to a new website, the download links no longer work.
The download files are in the new database.
This reply has been marked as private.
I have tried so many different way to get this to work and it doesn’t.
My shortcode:
[wpdm_all_packages
thumb=0
items_per_page="20"
categories="test"
jstable=1
order_by="title"
order="ASC"
cols="post_content|acf_ProductInfo_Artist|acf_ProductInfo_Title|acf_ProductInfo_Version|acf_ProductInfo_BPM|acf_ProductInfo_genre|acf_ProductInfo_Credits|download_link"
colheads="|Artist::5px|Title::10px|Version::500px|BPM::1px|Genre::1px|Credits::1px|Download::1px"]
I tried so many different values and it seems to not work in adjusting any of the column widths. This is why I put a 1px on some of them to see if it would even adjust to that, it doesn’t.
All the columns are evenly spaced.
How do you get this to work properly.
Hello Adams,
I have checked that, it is not wrapped by any other div for the download link. However, please try with the below code in your theme Customizer > Additional CSS
.wpdm-download-link.btn.btn-primary {
width: 40%;
margin: 0 auto;
display: flex;
justify-content: center;
}
I hope it will be worked properly then. please let me know
Thank you and regards