/*
CSS for Download Manager installed on Elegant Themes Divi Theme
to format the file details pages (‘page template’) and file overview pages
to look good on desktop and mobile
v1.0 by Nice Agency / Diego Matter 2021-12-10
add to WP Dashboard –
Appearance – Customise –
additional CSS
*/
/* if necessary : link hover color and text decoration
.w3eden a:hover {
color : Coral;
color : DarkOrange;
text-decoration:bold;
}
*/
/* Text sizes */
/* ———- */
.w3eden {
font-size : 14.7px;
line-height: 1.6;
}
.w3eden body,p,ul,li,link {
font-size : 14.8px;
}
.w3eden h1 {
font-size: 1.6em;
}
.w3eden h2 {
font-size: 1.51em;
}
.w3eden h3 {
font-size: 1.2em;
}
Finally figured it out. You were right, I downloaded php7.4, switch nginx to use that, re-installed wpdownloadmanagerpro and it worked. To get the icons and links to show up properly I downloaded the non-pro plugin first, then installed the pro over that. Just wanted to update in case anyone else runs into this (i.e., don’t migrate your wordpress site from a php7.4 to php8.0 version without testing fully first). Thank you so much for the support I really appreciated it!
Also updated to 6.1.0, tested 6.0.9 as well, was 100% php issue.
The orderby and order parameters don’t seem to work!
We have shortcode
[wpdm_category id="elterninfos" operator="IN" orderby="date" order="desc" toolbar="0" template="link-template-default-icon" cols=1 colspad=1 colsphone=1 paging=0 items_per_page=999]
on page
https://steinach.bald.live/schule/elterninfos/
So it should show 2021 first and 2019 last as they were dated that way but it is not working. changing order from DESC to ASC doesn’t change anything…why is that so hard to do?
Thanks for a fast answer, as the page should go online but has several sites with non working download-orders..
Oh, I can see it now. However, we do need to use the Form Lock and I was wondering if we can show the Viewer once a person has submitted the form, instead of “Your download link is ready now: [Download]” we want “Your download link is ready now: [View] [Download]. Is that possible? The challenge is that the client wants the PDF open in the browser but also would like to protect the URL so people won’t share that link.
Thanks again for your help.
This reply has been marked as private.
Hi again!
Well I mentioned that I was new to the tool. Was a bit dissapointed about the poor features in Download Manager – i heard that it’s the number #1 tool for WordPress. However then I found the options of “Link Template” and “Page Template”. WOW WHAT A GOOD TOOL DOWNLOAD MANAGER IS!! There are so many options and layouts you don’t need to to into programming mode to use it. So besides that users should read the manual & instructions – these instructions could be made a bit easier to understand with more examples etc. Would be great if that could be the case.
Hello @oled,
I asked to get a clearer idea which would help me to give proper. However, I have given solution below from my understanding. Please check that.
The shortcode is like this:
[wpdm_category id="Category Slug or Slugs" operator="IN" title="Custom Title Here or 1" desc="Custom Description or 1" toolbar="1" paging="1" orderby="field name" order="asc or desc" items_per_page="10" template="template name or ID" cols=4 colspad=2 colsphone=1]
Here you can select link template in the template parameter. You can edit link template and use the below template tag in that.
[download_url]
Returns Package Download URL
Usage example:
<a href="[download_ur]" class="btn btn-info">Changed download tag!</a>
Thanks
Hello,
Thank you for the details.
You should be able to change the link-template
designs by following the below link which will solve the mobile view issue.
Template Files
Thanks.
Hi!
Thanks for quick reply. The webpage is; https://www.planario.se/ and it’s in the bottom of the page where it says download.
I put the image in the link in download manager itself, so clicking this link you will be able to download the imgage Can you get the picture from that link. (Perhaps i missunderstood the product, but instead of using Dropbox, Box, OneDrive, ShareFile etc. my plan is to use Download Manager more to share files so i know who has downloaded it etc).
wbr
/Sten
Link is
wasteeducation-qld.org/download/managing-waste-in-your-kindergarten
Hi
This is a link to one document. But it should use the same font size for ALL documents listed on https://wasteeducation-qld.org
Managing waste in Kindergartens and Early Learning Centres
Thanks,
Diego
Hi!
We are very,very new to Download Manager. Tried to search the forum for similar topics but could not find any, so please advice me if there is some info available.
Our problem is that the download form(?) is displayed quite nicely on a webpage. But on a mobile it’s not so nice – if you have a longer document name (like 20 chars) it’s wrapped quite uggly. Is there away of customizing where the text should be displayed? (changing the font, don’t get it so wrapped etc).
I’m also trying to use the Download Manager to send a screen shot of the picture (again, beeing very new to Download Manager it’s perhaps not the right way to do, if so please tell me).
Link showing the interfaces
Cheers,
/Sten
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
This reply has been marked as private.
Hello mrcbt,
Hope you are well. As per your requirements, please edit the following file,
wp-content\plugins\download-manager\src\AuthorDashboard\views\author-dashboard\list-packages-table.php
file line number 82
replace href='<?php echo get_permalink($post->ID); ?>'
href content to
<?php echo WPDM()->package->getDownloadURL($post->ID); ?>
and for making backup your file, please follow this doc,
Template Files
I hope it will help you, please let me know then
Thank you and regards
Hello guys.
I need to disable the use of Download Manager from the classic wordpress editor. How can I do? To avoid misunderstandings at this link ( https://monosnap.com/file/0oz08sznCQ4yx9sMyfTmPqPLmMFtzy ) you will find an image in which, in the red box, I indicate the functionality that I would like to deactivate. Alternatively, is it possible to limit the use of the plugin to the site administrator only?
Waiting for your support, I greet you
Marcello
The bulk import stopped working on the WP Download Manager and I’m at my wits end trying to remedy it. I used to be able to upload multiple files for a single link and now I can’t. It acts like it’s doing a bulk upload, but each file just replaces the other.
Screenshots:
https://photos.app.goo.gl/x9Yx6gN6evP8KX1J8
https://photos.app.goo.gl/VtYgVzU4dkQMLSEv5
I have tried uninstalling the plugin and reinstalling it. Any input would be appreciated.
-
This topic was modified 3 years, 6 months ago by
Ryan.
Hello,
Greetings for the day!
Yes, for description, it will be WPDM()->package->init($ID)->description
,and for download link use WPDM()->package->downloadLink($ID)
.
Hope this answers your query.
Best Regards
Perfect! I can work with that.
Any chance to get the download-Link with this or other code?
Hi,
In that case please follow the below link.
get_package_data
Thanks.
Hello @kellenberger,
Greetings for the day!
Based on the image you have shared, let me explain a thing with you that, it’s not a shortcode rather than it’s a template tag
.
Template tags can only be used inside the WPDM related link/page template.
You can check the below page for template customization.
Template Files
Hope you understand.
Thanks
Thank you for your instant reply.
To be honest, I thought that this would be much easier to setup with the PRO account.
Anyway, could you please let me know how to setup the main download page?
This is one of my download links:
Αρχείο Ενεργοποίησης Football League & Ερασιτεχνικών Πρωταθλημάτων Καρδίτσας, Κοζάνης, Λάρισας, Τρικάλων, Φλώρινας & Πιερίας
If you click “Download” in the breadcrumb navigation bar you will get an error page.
How can I edit this “Download” page?