We have started receiving complaints from our members about the download links not working for them.
I was able to recreate the issue in Google Chrome for Windows.
This is the page with the download manager embeded: https://iocdf.org/programs/newsletter/
1 ) You can change the language from Settings > General > Site Language option. This is a WordPress core option. Download Manager just uses the active language.
2 ) You can use custom link/page template to change styles of download presentation. FOr other stuff like login, signup form, etc you can use custom templates. Please check the related documentation here https://www.wpdownloadmanager.com/doc/template-files/
Let me know if you need help with any specific style changes.
FINALLY!!!! I found a solution to my problem with Download Manager. My solution was to include more than just the Download Manager tag. [wpdm_package id='13128'] It is obvious that the latest updates to the Download Manager templates introduce some serious CSS bugs. By reverting back to an older template my problem is solved! [wpdm_package id='13128' template="link-template-default-old"]
I’m happy to be back in action before the updates crippled my TablePress tables with the Download Manager default shortcode.
Hello WPDM,
1. Previously, all my packages were visible on my download page, even if not logged on yet. There would be a link next to each package to login. Now the packages are not visible anymore unless I login first. I then tried to extend my call to the shorcode wpdm-all-packages with paramet login=1. The result was an error on the page underneath the login fields: “); $(‘#loginform-submit’).html(llbl); } else { location.href = “/downloads/”; } } }); return false; }); $(‘body’).on(‘click’, ‘form .alert-danger’, function(){ $(this).slideUp(); }); });
2. My site works with Gutenberg blocks. I downloaded your Gutenberg blocks, only to find out that they do not work anymore (until 5.1.1), is an update in process.
You can create custom link/page templates using our Pro version. So, replacing the [download_link]
tag in any template with the following code will open the link in a new tab,
<a class="btn btn-primary" href="[download_url]" target="_blank">[link_label]</a>
See https://www.vphuisartsen.nl/downloads/
Do not know why this happened. Probably after updating the package or updating my website theme?
Hi,
The category page is controlled by a template from your theme. Download Manager can partially modify the page using some hooks.
To add the toolbar we need a custom category archive template for Download Manager. You can copy the current archive template of your theme and rename it to taxonomy-wpdmcategory.php
. Then add the toolbar feature in this template. This new template gives you total control over the pacakge category archive page.
If you need help with this please send temporary wp-admin and FTP login info in private reply. Or just send me the category archive template file so I can use it to create the new template. Send a category archive page link to if you are sending the file.
Thanks.
This reply has been marked as private.
Upon creating a new link template, i am seeing the following message.
“Warning: Illegal string offset ‘content’ in /home/doctempl/public_html/wp-content/plugins/download-manager/admin/tpls/template-editor.php on line 66”
I see that with the category page options that I can select a link template from this URL/tab:
/wp-admin/edit.php?post_type=wpdmpro&page=settings&tab=frontend
What actions do I need to take/explore if I want to have the toolbar appear on any of these templates I’m choosing so it will display and function by default when a category page is displayed?



Thanks for any suggestions.
Chuck Wyatt
Manager of Web Technical Services
Clark University
<div class=”panel panel-default”>
<div class=”panel-heading”><b>Document to Download</b></div>
<div class=”panel-body”>
[file_list] [link_label]
</div>
This is the code in my page template:
<div class=”panel panel-default”>
<div class=”panel-heading”><b>Document to Download</b></div>
<div class=”panel-body”>
[file_list] [link_label]
</div>
Hi,
I had the same issue, ‘single-file download’ fixes the problem, however, I want the download file to open in a new page once clicking the download link. At the moment it opens it in the same window, thus taking me away from the website.
Any suggestions?
This reply has been marked as private.
Looks like the download issue is related to the access settings. At first, no role was selected in package settings, so download didn’t work as expected. Because no one has access to the package.
Later you updated the access settings to allow the User and Administrator role to have download access. But you tried to download the file without logging in. But package settings require User and Administrator role.
If you want the link work always then select Anyone in package settings.
About the next/previous links, those are coming from your theme. Download Manager uses your active theme’s single.php
template to show the package. It can control the content part but the rest is controlled by the theme. So, you have the edit the single.php
to remove those links.
You can copy the single.php
and rename it single-wpdmpro.php
If this template exists inside your theme this will get priority over single.php
The benefit of using single-wpdmpro.php
is, it will only be used by WPDM, so you can design it as you want without affecting any other parts of your site.
download button shows up on the package, and files in the package are displayed, but NO download buttons on individual files. I have used templates with the [file_list] in the code and still no download links on individual files. What am i doing wrong?
We will add the following patch in next version to fix this issue. Replace
$vars['free_download_btn'] = self::free_download_button($vars['ID'], $vars['link_label']);
with
$vars['free_download_btn'] = self::free_download_button($vars['ID'], apply_filters("free_files_link_label", __( "Download free sample" , "wpdm-premium-packages" )));
in wpdm-premium-packages.php
file on line 1114.
And then you can utilize the free_files_link_label
filter to modify the label as shown in the following example.
function wpdm_free_files_link_label(){
return 'Download Free Files';
}
add_filter('free_files_link_label', 'wpdm_free_files_link_label');
I have created a custom template tag [file_list_play_only]
to show only play button.
Copy the code from here https://www.dropbox.com/s/5hk4xca0x80lcmi/file_list_play_only.php?dl=0 and add it to your theme’s functions.php
file.
And then use the [file_list_play_only]
tag on your custom link/page template.
Btw, remove the previous code to allow the download button in normal file list tag.
https://drive.google.com/file/d/1FAu4NUHL7EXUnagegLkWXDk_WqkMixrq/view
In the above link, I showing a video of Download Manager Advanced Access Control add-on issue. In this video, I used to a restriction that if user not allowed to download a particular package then hide the package for that user.
And In this video, I assigned 12 packages(name of packages like form-1 to form-12) to Sales forms & Pricing category. out of 12 packages(of Sales forms & Pricing category), 7 packages hide for a user(akshat.ambore) and only 5 packages are allowed to download for a user(akshat.ambore).
And I am using pagination shortcode of download manager and assigned 5 package’s per page but out of 5 packages(that are assigned to download a user) 3 package’s shows on the first page, 1 package on the second page and 1 package on the third page.
https://drive.google.com/file/d/1FAu4NUHL7EXUnagegLkWXDk_WqkMixrq/view
In the above link, I showing a video of Download Manager Advanced Access Control add-on issue. In this video, I used to a restriction that if user not allowed to download a particular package then hide the package for that user.
And In this video, I assigned 12 packages(name of packages like form-1 to form-12) to Sales forms & Pricing category. out of 12 packages(of Sales forms & Pricing category), 7 packages hide for a user(akshat.ambore) and only 5 packages are allowed to download for a user(akshat.ambore).
And I am using pagination shortcode of download manager and assigned 5 package’s per page but out of 5 packages(that are assigned to download a user) 3 package’s shows on the first page, 1 package on the second page and 1 package on the third page.
I am trying to get the direct download link to work for sharing packages and it wont work. It just keeps downloading a file called permission-denied.txt. Please watch this video below and advise how to resolve this problem. Thanks.