This reply has been marked as private.
Hi @fscedfu,
Please update your WPDM Pro to the latest version 6.0.6 first and then use the updated shortcode mentioned in the below link. As you can see template parameter should be link-template ID and make sure it exists under Downloads ► Templates.
https://www.wpdownloadmanager.com/doc/short-codes/wpdm_category-query-all-downloads-from-one-or-more-categories/
Please check this and it’s working fine.
Thank you
LOL, you meant tree view shortcode, we already documented it on https://www.wpdownloadmanager.com/download/wpdm-extended-short-codes/. Simply adding newwin=1 with shortcode shall open the link in a new window/tab.
Please give me an URL where the download link opens on the same tab for you. In my test ( https://flowersoapscoil.ipage.com/aitech/test/?search=p ), it is opening in a new tab.
Hi, on the download link page the image is out of shape here
However on the actual download page it is the correct size here
All I am looking for is the ability to change the [icon] within the download link template as at the moment there isn’t an option?
Thanks
Guy
Hello @jennafurless,
I am sorry to say that you can’t make the entire table display due to your current theme layout. If you want to change the theme in the future then you can use our “Attire” theme instead which is optimized and works well with the WPDM.
https://wpattire.com/
Or, you can remove a column by using the below shortcode which should look like this.
[wpdm_all_packages items_per_page="20" categories="interventions,tools,promotion,socials" jstable=1 order_by="field_name" order="ASC/DESC" cols="title,file_count,download_count|categories|download_link" colheads="Title|Categories|Download::155px"]
Yes, you need to list all of the categories in the “slug” area.
However, in order to remove the “[free_download_btn]” code for the premium page template, please activate the
Premium Packages - Sell Digital Products Securely plugin first and then remove this free download file.
Hopefully, your problem will be solved.
Thank you
Hello @
Hope you are well and sorry for the delay.
Please you the below code in order to show the featured image in the link template.
<img src="[preview]" alt="Preview" />
You will find more details in the below docus as well.
https://www.wpdownloadmanager.com/doc/templates/template-tags/
Thank you
Filter hook wpdm_download_link and download_link works differently.
wpdm_download_link accept 2 parameters 1st parameter is download link html code, 2nd parameter is an array just contaiting package ID, ['ID' ► {Package ID}], and inside the filter to can retrieve package date using the give ID, $packageObject = WPDM()->package->init($param2['ID']);
and download_link filter is documented here https://www.wpdownloadmanager.com/doc/filter-reference/download_link/
However, please let me know what are you trying to do, so that I can explain your better :).
This reply has been marked as private.
Hello Guy,
Yes you can.
In order to show total downloads in a download package page, you have to use this template tag [download_count] in the link/page template that you are using.
For more template tags, you can check here:
Template Files
Also you can use shortcode and set link template there to show total downloads. To create templates you can follow this
https://www.wpdownloadmanager.com/doc/templates/creating-a-new-template/
Thanks
Hello @hudi-webcart,
You just need to follow this:
1. Copy page-templates directory from /plugins/download-manager/src/package/views directory to your active theme directory.
2. Make a new directory as download-manager on your active theme directory.
3. Now remove all files from {active-theme}/download-mamager/page-templates except the template files you need to update.
4. Update template file(s) in {active-theme}/download-manager/page-templates directory as per your need. As you need to add open in a new tab you have to add this <a href="[download_url]" target="_blank">[link_label]</a>
Let me know please if you still find any issues.
Thanks
Hello,
I think you require some customization work.
You can contact our customization team through this link.
With Regards
Hello Asad,
We are sorry to say that it’s not possible. It requires some customization work.
You can contact our customization team through this link.
With Regards
Hi @fscedfu,
No, I haven’t change anything yet.
After the update please Go to Downloads>templates then visit all tabs there.
It should solve your issue. If it does not then please share a link where the 5cbda6187abge.php is appearing.
Thank you
Hello,
Hope you are well.
In order to use the photography theme please download the child theme and then follow the procedures described in the below link.
https://scripteden.com/download/wordpress-portfolio-photography-theme/
Also, you can add the digital marketplace demo from the Attire theme Attire Layouts options by following this.
Thank you
Hello Guy,
Hope you are well.
You have to customize the all-packages-shortcode.php file, and the file location is /download-manager/src/Package/views/,
To do that,
1. Create a dir named download-manager inside your active theme dir(Dont need if it is already created there)
2. Now copy the all-packages-shortcode.php to modify from download-manager/src/Package/views dir to /{active-theme}/download-manager/ dir.
3. Customize that file in{active-theme}/download-manager dir as you need to comment out the line 290 by adding this // to
$data['download_link'] = WPDM()->package->downloadLink($data['ID'], 0, array('template_type' ► 'link'));
like this //$data['download_link'] = WPDM()->package->downloadLink($data['ID'], 0, array('template_type' ► 'link'));
then add this line there
$data['download_link'] = "<a target='_blank' class='btn btn-primary' href='".get_permalink($data['ID'])."'>"."Download"."</a>";
$download_link = $data['download_link'];
if you dont want to open in a new tab just remove target='_blank' from that line.
4. It will work with the shortcode as you wanted. then save the file and test.
Thank you
Respected Nayeem And Shahjada Sir.
I was Offline and my Update is expired.
Now my Mastercard has some problems and it will be solve in next 10 days.
So I can’t renew my support and update now for wpdm pro. Although my 2 other addon has still support time remaining.
Sir please give me new version download link because in 6.04 some Function like Views and Download Count Not Working.
Or tell me the solution of these two problems if possible with that old version.
I have 6.04 Now Installed.
Thanks and Regards
Hi @goldenmoon,
You can change the download button color by following this setting.
However, in order to change the other texts in the download box, you have to edit the corresponding template file by following this doc.
Also, You will find all the related template tag details in the below link.
https://www.wpdownloadmanager.com/doc/templates/template-tags/
Thank You
Hello,
The [page_link] will show package title with package link.
Currently it is not possible by default to change the download button link to package link.
It needs some php customization in download-manager > tpls/tpls3 > wpdm-all-downloads.php file,
please let me know, if you want the changes.
Thanks
Hi @b-maria,
You are welcome. I am always at your service mam.
However, Your inserted shortcode was wrong that’s why it was not working.
You will find the valid shortcode format in the below link and please copy a shortcode by following this in the future.
WPDM Directory Add-on
Have a good day.
I’m getting a jquery error when clicking the download button.
Works when logged in (no error and modal comes up). Error when logged out (and no modal comes up)
Link to my download page: https://www.neiengineering.com/technical-papers/
Screenshot of error here: https://snipboard.io/4yobfw.jpg
Any idea what is going on here?
This reply has been marked as private.
Hi, I have a custom template that allows Vimeo videos to play in a Lightbox popup which seems to have broken due to one of the updates. Now the link just takes you to the video on the Vimeo website (not even in a new window).
The HTML for the custom template ‘Plain link video’ is:
<span class=’plain-link’>[title]</span> <span class=’plain-link-download’>[video_preview_modal]</span>
Any ideas?
Thanks, Rick
This reply has been marked as private.