Hello Livingseed Europe,
Hope you are well. I have checked that you have attached the dropbox file URL. so, when anyone clicks the download button, it opens the dropbox file with its URL. However, if you attach from Select Files option or server file upload option. It will process the download link, will not appear for the file URL. I hope, thus you may also continue with file uploading. please let me know
Thank you and regards
This reply has been marked as private.
Hello,
You can try changing page template and link template of related downloads to check if the issue persists.
If you are in free version of WPDM you can’t edit link template/page template from wordpress dashboard, in free version, those need to be edited directly from template files. Not sure if you did this.
However, just follow my suggestions and let me know if the issue persists. If it is not solved, please provide temporary admin access in a private reply.
Thanks
Hello Jon Christensen,
Hope you are well. For URL for a certain package, you may use the master download URL as I image attached, or you may also use the pre-built link template as I image attached here,


please check and let me know
Thank you and regards
Hello,
For security, In WPDM pro there is a setting to hide total package or hide download link if user is not allowed to download.

If you need any customization to hide direct download link tota, please visit https://www.wpdownloadmanager.com/download/custom-upgrade-service/
Thanks
Hello,
Glad to see you again. Here all the answers listed:
1. You can change fonts from Downloads > Settings > User Interface
For further changes you may need to add custom CSS in custom theme.
2. You can change from Downloads > Settings > User Interface
to change colors
3. If featured image is higher in resolution, it will already fit the full card. You can check the example page I added the shortcode <a
href=”https://staging.mmpeacemonitor.org/resources/” rel=”noopener” target=”_blank”>here.
4. It can be done by modifying link template codes and adding custom CSS there.
5. Top filter bar design can’t be change with the shortcode, however, you can remove that using toolbar=0
parameter in shortcode.
6. To show update date you have to use template tag [update_date]
in the link template. More details about template tags can be found <a
href=”https://www.wpdownloadmanager.com/doc/templates/template-tags/” rel=”noopener” target=”_blank”>here
7. This can be done by adding custom CSS to the link template. There is a place is provided for adding custom CSS.
Thanks
Dear,
I am looking for hide download link from google security. I got more times Security issues from google search console. I need that type direct download link. How WPDM downloads are more secure? Please let me know about your new code funtionlity.
My site is built using Elementor Pro, Custom Post Types, and Advanced Custom Fields. I have a single post template built in Elementor for a custom post type. The template has buttons for downloading files. The button links are currently set up to dynamically pull in a URL from a custom field.
The download URL editing process is as follows:
1. User clicks to edit or add a new post. This takes place in the WP editor, not in Elementor (the post is connected to the custom post type configured in CPT UI plugin)
2. User enters a URL for the download button into the custom field (field has been configured using ACF Pro plugin)
My issue is that WPDM uses shortcodes to link to the download package but I need a URL in this case. Do you know of a solution for my scenario? I want to keep my button designs within the Elementor template, and use ACF Pro to dynamically connect the download to the button.
I am getting the same error message as listed here.
https://www.wpdownloadmanager.com/support/topic/wpdm_accordion_gbblock-php-on-line-52-and-53-2
Which is listed as resolved but the resolution is set as private. So here we go.
The plugin appears to work on the frontend but it crashes the backend/admin side.
[Thu Sep 01 16:12:32.787361 2022] [php:error] [pid 10475] [client 10.1.100.15:50368] PHP Fatal error: Uncaught TypeError: basename(): Argument #1 ($path) must be of type string, array given in /var/www/html/cms/wp-content/plugins/wpdm-accordion/libs/GutenbergBlock/WPDM_Accordion_GBBlock.php:52\nStack trace:\n#0 /var/www/html/cms/wp-content/plugins/wpdm-accordion/libs/GutenbergBlock/WPDM_Accordion_GBBlock.php(52): basename()\n#1 /var/www/html/cms/wp-includes/class-wp-hook.php(307): WPDM_Accordion_GBBlock->linktemplatesJSON()\n#2 /var/www/html/cms/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()\n#3 /var/www/html/cms/wp-includes/plugin.php(476): WP_Hook->do_action()\n#4 /var/www/html/cms/wp-admin/admin-header.php(163): do_action()\n#5 /var/www/html/cms/wp-admin/index.php(137): require_once(‘…’)\n#6 {main}\n thrown in /var/www/html/cms/wp-content/plugins/wpdm-accordion/libs/GutenbergBlock/WPDM_Accordion_GBBlock.php on line 52
The Function in question
function linktemplatesJSON()
{
$templates = WPDM()->packageTemplate->getTemplates('link', true);
$_templates = [];
foreach ($templates as $templateID ► $template) {
$template = WPDM()->packageTemplate->getInfo(basename($template), 'link');
$_templates[] = ['label' ► $template['name'], 'value' ► $templateID];
}
?>
<script>
var __wpdmacrd_link_templates = <?= json_encode($_templates); ?>;
</script>
<?php
}
The specific line
$template = WPDM()->packageTemplate->getInfo(basename($template), ‘link’);
If I comment out that line then it hops to the next line
[Thu Sep 01 16:19:00.782022 2022] [php:error] [pid 10057] [client 10.1.100.15:50797] PHP Fatal error: Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/cms/wp-content/plugins/wpdm-accordion/libs/GutenbergBlock/WPDM_Accordion_GBBlock.php:53\nStack trace:\n#0 /var/www/html/cms/wp-includes/class-wp-hook.php(307): WPDM_Accordion_GBBlock->linktemplatesJSON()\n#1 /var/www/html/cms/wp-includes/class-wp-hook.php(331): WP_Hook->apply_filters()\n#2 /var/www/html/cms/wp-includes/plugin.php(476): WP_Hook->do_action()\n#3 /var/www/html/cms/wp-admin/admin-header.php(163): do_action()\n#4 /var/www/html/cms/wp-admin/index.php(137): require_once(‘…’)\n#5 {main}\n thrown in /var/www/html/cms/wp-content/plugins/wpdm-accordion/libs/GutenbergBlock/WPDM_Accordion_GBBlock.php on line 53
If I comment out that line then it allows me to continue and I get no further errors.
I do have some custom accordian templates. I am on php 8.1 and can give you more details if you need them.
Brian
This reply has been marked as private.
Hello Ibrahim,
Glad to see you again.
I have just checked the example site you provided.
They are using direct download link for there files.
WPDM downloads are more secure than that. You have to just upload files using right side “Drop FIle Here” uploade feature.
It creates unique codes for downloads. So it is more secured.
Let me know please if you are looking for any particular features.
Thanks
Is there a way to display the URL from the page the download link is executed from? We have the same file that will be downloadable from multiple pages, and the page the file is downloaded from helps us understand the customer’s interests. Is there a template variable for this?
Hello Scott Van Den Elzen,
Hope you are well. I have checked your issue. One of your plugins called Make Paths Relative was conflicting in generating the download link. I have deactivated it now. Every email download link is working fine now. please check and let me know
Thank you and regards
Unfortunately, it’s not possible.
But you can use the wpdm add-on “advanced custom fields” to add custom fields.
link : https://www.wpdownloadmanager.com/download/advanced-custom-fields/
It will require some customization.
You can get it done by customising the template code
or visit the link : https://www.wpdownloadmanager.com/download/custom-upgrade-service/
Hello,
We use this plugin to provide visitors a unique URL for downloading pdf’s from our site. I’m attempting to upgrade from (very old) version 4.6.8 to the current version. Most of the configuration come across fine, but after the upgrade when a user get the download email the link contains only the section after “/?post_type”. The new link is missing the https://yyy.com
Example:
before update: https://yyy.com/?post_type=wpdmpro&p=2515&wpdmdl=2515&_wpdmkey=asdfasfasd
after update: /?post_type=wpdmpro&p=2515&wpdmdl=2515&_wpdmkey=asdfasfasd&subscriber=adsfasdfasdfas
How can I fix this? Where should I be looking to update this information?
Thanks!
This reply has been marked as private.
Extremely sorry for the delay.
Use shortcode [wppm_downloadarea], this shortcode will show
both the “Download Limit” progress bar and “Membership Items” section.
Showing only the “Download Limit” progress bar section will require some customization.
You can get it done by customising the template code
or visit the link : https://www.wpdownloadmanager.com/download/custom-upgrade-service/
And there are other option available **without pregress bar view**
[wpdm_user_download_limit] – Shows current user’s download limit
[wpdm_user_download_limit remains=1] – Shows current user’s remaining download limit
[wpdm_user_download_count] – Shows – Shows current user’s download count for current period
[wpdm_download_limit_reset_timer] – Shows count down timer for download limit reset time
-
This reply was modified 2 years, 10 months ago by
Shaogat Alam.
Hi,
Is there a way I can create a link for a user to download a package? & then when they click that link the popup will ask for their email before downloading.
Thanks
Hello,
Thank you for your query.
Unfortunately, it’s not possible.
However, you can use [wpdm_tags btnstyle="link" icon="tag" showcount=1 cols=3]
shortcode instead.
Please check our documentation for more details: https://www.wpdownloadmanager.com/download/wpdm-directory-add-on/
Regards
Hello Brad Galusha,
You have used template=”default”, which means you are using, the link-template-default
link template. you can duplicate the link template from downloads > settings > Template > link template
and adjust that with the above [title]
template tag. I hope your requirement will work fine then. please check and let me know.
Thank you and regards
This reply has been marked as private.
Hello Brad Galusha,
Hope you are well. For disabling the title link and only making the download button an active link. you can use the [title]
template tag in your link template for the related shortcode. please check and let me know
Thank you and regards
Hi Nayeem,
The link can be found here: https://clearweld.com/documentation-and-white-papers/
On this page, when a user clicks the title of the document (such as “A Competitive Advantage Through Innovation”) it opens the package page (https://clearweld.com/download/a-competitive-advantage-through-innovation/) instead of the actual PDF itself. Is it possible to make the title link behave line the Download button on the right-hand side. When a user clicks the download button the PDF opens in a new tab which is the functionality that we were hoping to achieve.
I guess another alternative would be to disable the title link altogether and only make the download button be the active link. Does that make sense?
Thanks os much!