Hello Peter,
Hope you are well. Do you want the View and Download button feature for your PDF files as you share the link? please let me know
Thank you and regards
I’m using a filter plugin (LSCF Custom Filter). I need to call the download url so I can display the WPD download button into a custom template. The plugin requires a custom tag in order to call data from other plugin as shown below. I’m not a programmer and have not figure out how to modify the code below to call the download url. Can you help me?
add_action( ‘lscf_custom_tags’, ‘lscf_custom_tags_get_acf_fields’ );
function lscf_custom_tags_get_acf_fields( &$args ) {
$post_id = (int) $args[‘ID’];
$acf_value = get_field( ‘my_field’, $post_id );
$args[‘acf_field’] = $acf_value;
}
I need the custom tag to insert the download url in my custom download button:
“a class=”wpdm-download-link download-on-click btn btn-primary ” download=”” rel=”nofollow” href=”#” data-downloadurl=”{{post.acf_field}}”>Download”
Dear Nayeem,
Yes. A Link Template:
I have started a Link Template: NHS Direct File Download
But, I can’t get the Link Template to be inline with the text with a paragraph as displayed in the graphic:
https://drive.google.com/file/d/12BMxr_kq921gz7FuOuvcErLV1R24LnoA/view
Can this effect be achieved? I have a feeling it can’t because each Link Template is surrounded by the “w3eden” DIV container.
Let me know.
This reply has been marked as private.
Hello Sean,
Is possible only the download button there, or do you want a link-template and the output there for related packages? please let me know, if it possible
Thgank you and regards
Plugin is updated, but when I expand the accordion on my site every single download just appears as “card_link_no_icon.php”
Any ideas how to fix?
Hello,
Thanks for your reply.
1) Yes the addon will work like the demo for pdf with a view button and download button.
2)Google drive files dont show file types as file types are created by wpdm only if you upload files to your website whereas google drive only sends download link without any file type info
3, 4, 5, 6) will not show as you are using google drive to select the file. Just upload the mp3 file using wpdm.
7) video, mp3 are possible to play using template tag. pdf is possible to preview using pdf viewer addon.
8) You have to use template tag and edit page template to show icon in package.
9) For other videos, you have to create other packages.
Thanks
Hi Nayeem,
thanks for the suggestion. I’ve now checked “Unmask Download Link”. We will perform some seo tests.
Have a nice day
Francesco
Hello Maize,
For crawling by the Search Engine. You can Unmask Download Link
, If you unmask the download link, bots will be able the find any public download link easily. You are able to find this setting from Downloads > Settings> Basic Settings
. please check.
Thank you and regards
Hello @alessandro4,
Greetings and Welcome.
First of all, please follow the instruction appropriately mentioned in the below link.
Advanced Access Control
If still, the problem exists, <span style=”font-weight: 400;”>then please </span><span style=”font-weight: 400;”>provide us with your temporary wp-admin login details and site URL in a private reply for checking the issue.</span>
<span style=”font-weight: 400;”>Also, please share the related page/file/package URL with us where the issue exists.</span>
Thanks
Hello,
Hope you are well. You can show file types icon preview using the template tag [file_type_icons]
in link templates or page templates.
However, You have to upload files to create the package. Then wpdm will able to identify the file type and can be able to show icon.
Also to show pdf, You have to upload files to create the package. Then wpdm will be able to preview the pdf using the below addon:
WordPress PDF Viewer
Thanks
Hi there,
Is there posibility to change data field for date “update_date” to show not only date buth date and time?
I want to add a time of file update along side date. Is it possible?
To be more precisse I have a tabular view of file in this shortcode
*************
[wpdm_all_packages items_per_page="10" categories="prigovori," jstable=1 order_by="update_date" order="DESC" cols="title,file_count,download_count|update_date|download_link" colheads="Наслов|Датум постављања::120px|Преузми::80px"]
*************
How to change this shortcode in order to see a time along side of date?
I do not need this to be seen on whole website, just for some particular pages and tables…
Hope you understand what I want to do.
Regards,
Branislav
Hi @teckman57,
Greetings and Welcome to the support forum.
Currently, it’s not possible to fetch files from the child category by using [wpdm_all_packages].
However, you can use the [wpdm_packages] instead. More details can be found in the below link.
[wpdm_packages] – WP_Query in a shortcode for download manager packages
Thanks.
Basically, favourite option is related to [fav_button]
template tag, you shall find it here,
Template Tags
when you will use it in your page/link-template, then it will show the favourite packages in MY FAVOURITES option in the user dashboard
Favourites and histories both are available in dashboard when you use [wpdm_user_dashboard fav=1 flaturl=0]
https://www.evernote.com/l/AUcWk1tbeR1KE4-yORfpZM4sdywS2MeVNJEB/image.png
thanks
This reply has been marked as private.
Hello,
you have to use either wpdm upload file or select from media. You can not change from one to another after uploading.
Also, by selecting from media, the download link become direct.
If you checked “Open in browser” option in wpdm settings you need to uncheck it to download the file instead of opening in the browser.
If it doesn’t fix the issue, you have to use only the wpdm upload option instead of media library to make the files downloadable.
Hope you understand.
Thanks
Hi Truong,
The link of the document title is back now here,
https://bsdinsight.com/download-tai-lieu/
I have used page_link
instead of title
here, please let me know if it resolves your issue
Thank you and regards
I used the shortcode in your link, I removed categories=”slug1,slug2,…” and login=1 thumb=1. You can get my result https://bsdinsight.com/download-tai-lieu/
But the problem I have here is that the link of the document title is no longer available, and I don’t know how to solve it.
You can see my picture attached so you can understand and help me get the title’s link back
You can get it https://imgur.com/a/lq9xR9Z
Hi Truong,
Hope you are well. Can you please check this shortcode doc,
[wpdm_all_packages] – List all downloads in tabular format in a page – WordPress Download Manager (wpdownloadmanager.com)
Adjust the cols and colheads parameter download_link
and Download
, thus the column will be removed. I hope you have understood.
Thank you and regards
Hello Nayeem,
I am trying to achieve this effect:
https://drive.google.com/file/d/12BMxr_kq921gz7FuOuvcErLV1R24LnoA/view
But can’t.
I have created a Link Template, NHS Direct File Download, but when displayed, there is always a DIV container around the template, <div class=”w3eden”>, I can’t see to get rid of that DIV container for this Template only, so that I can achieve this effect.
Sean
This reply has been marked as private.
This reply has been marked as private.
Hello Nohud,
Hope you are well. Are you trying to bind the packages to the categories, For Category access and package roles please follow the below steps as I describe below,
Before giving access to a certain category for a particular role you have to set from the edit category option, then you have to make empty for Allow Access option or have to give a particular role on it like as I image attached or as usual for select member option too,

because
Package Access = Package Access + All Category Access = All Visitors + Author = All Visitors
and Package Access = Package Access empty + Category Access(Author) = Author
or Package Access = Package Access(Author) + Category Access(Author) = Author
More details can be found in the below link,
Allow Access: Access Control Option
Hope you have understood now.
Please let me know
Thank you and regards
Hello Kelly,
From my side with the WPDM latest version, there is no such xml
file in this folder
wp-content\plugins\download-manager\src\Package\views\link-templates
are you talking about this path? please let me know
Thank you and regards
Hello Nayeem,
The Link Template is ‘NHS Direct File Download’.
On the Page, ‘Publications’, I have a text module (using the Themify Framework) and in the text, you will see the WPDM Shortcode.
Best regards,
Sean