Hello,
Greetings and Welcome to the support forum.
To change the Download button to the [page_link] please follow the below template override procedure.
Template Files
Apart from that, the code should be like this reference screenshot: https://jmp.sh/Rc6aWGh
I hope that helps and answers your query.
Regards
This reply has been marked as private.
I just discovered an issue with functionality.
I clicked on button to test and it created multiple download links afterwards.
See attachment.
https://drive.google.com/file/d/1xsCTxIjlXhq7g_udKXWOVS9RNHxyNU_8/view?usp=sharing
It seems that it is not easy to fix this error.
Can I change the original request?
Can you help me change the link of the “Download” button, it will go to the download page instead of downloading the file directly. (This helps me no longer need the link on the title of that download file)
-
This reply was modified 3 years, 10 months ago by
Dai truong.
Hello,
Hope you are well.
Yes you can select users created by wordpress with the advanced access control addon.
However, you can allow access to specific user roles with wpdm itself.
To test it yourself for packages from our demo site, please visit the below link with username/password demo.
https://demo.wpdownloadmanager.com/addons/wp-admin/edit.php?post_type=wpdmpro
You can also select category for specific users. To test that, please visit the below link you will see the user access option there.
https://demo.wpdownloadmanager.com/addons/wp-admin/edit-tags.php?taxonomy=wpdmcategory&post_type=wpdmpro
Thanks
Hi
I can see code in link-template-default.php – it seems okay, but it does not work.
<!– WPDM Link Template: Default Template –>
<div class=”link-template-default card mb-2″>
<div class=”card-body”>
<div class=”media”>
<div class=”mr-3 img-48″>[icon]</div>
<div class=”media-body”>
<h3 class=”package-title”>[page_link]</h3>
<div class=”text-muted text-small”><i class=”fas fa-copy”></i> [file_count] [txt=file(s)] <i class=”fas fa-hdd ml-3″></i> [file_size]</div>
</div>
<div class=”ml-3″>
[download_link]
</div>
</div>
</div>
</div>
Hello @Daibt,
You have to edit link template using proper template tags.
If you are using the free version of WPDM and using the default template, you can edit the link-template-default.php file. you can edit it from download-manager\src\Package\views\link-templates dir. For making backup your file you may follow this doc,
Template Files
And for related template tags, please check this doc,
Template Tags
please let me know, if you need further assistance.
Thank you and regards
Here it is
[wpdm_all_packages login=1 thumb=1 items_per_page="20" jstable=1 order_by="update_date" order="DESC" cols="title,file_count,download_count|categories|update_date|download_link" colheads="Title|Categories|Update Date|Download::155px"]
tks for your reply
Hello,
Is there a way to change the message that appear once a form is submitted (with Form Lock add-on and Gravity Form). Right now we can change the Download Label and have the form confirmation as a message but the message ‘Your download link is ready now:’ seems to be coming from the Form Lock add-on plugin.
Hello Albert,
I have replaced download_link_extended instead of download_link in the cols parameter for the shortcode here,
https://www.rarecrates.com/audio/
please check now, because of global settings credit balance is showing there. However, it also can be adjusted through CSS for specific this page only. please check and let me know
Thank you and regards
Hi When I’m trying to check the list of memberships (screenshot – https://prnt.sc/26ohxfl) it is showing internal server error. I’ve checked with hosting team they asked to check with developer.
Error Link – https://www.smartzworld.com/downloads/wp-admin/edit.php/?paged=2&post_type=wppm_plan&page=wppm_subscribers
-
This topic was modified 3 years, 10 months ago by
Arun.
There are two places on the site right now where there are responsive table. If you see preview of site, look at menu and click on Audio and the other is the Video menu links. You will see the responsive tables. On the far right side next to each product is the “Download” button.
How can I convert each of those buttons to the button where a credit is paid like the example you gave? It doesn’t need to say their credit balance over each button like it shows from your link of the product you changed the page template.
Hello Albert,
No, I have changed only the page template for the package, for pages/posts shortcode, there need to be changed link-templates. Or if I don’t getting you, please elaborate on direct download links on responsive tables and the package pages.
Thank you and regards
Hello Jorge,
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,
https://www.wpdownloadmanager.com/doc/add-new-package/package-settings/allow-access-access-control-option/
Hope you have understood now.
Please let me know
Thank you and regards
That would work. Would it replace the direct download links on my responsive tables and the package pages?
I don’t know what you are talking about.
I am in the package settings and I don’t see any “download link extended” page template.
Are you referring to the “Link Templates”?
And if so, why would that be helpful for a responsive table?
Hello Albert,
Can you please check the Download Link Extended page template from the package settings for the credit-locked packages? please check and let me know if it helps you
Thank you and regards
Hello Sean,
If you already purchased only WPDM Pro, it will valid for one domain only. please check the Pricing Plans too from here
Pricing
However, you can also check Linked Sites from your purchase dashboard panel and clicking the License Key option. you can remove your old one and add a new domain too from here, placing the license key in the new one. I hope you have understood
Thank you and regards
This reply has been marked as private.
This reply has been marked as private.
Hello Albert,
Sorry for your some inconvenience. I shall check the feature you are trying to achieve click the direct download link and it automatically removes the X amount of credit from their balance and downloads product, can you please point on this where you will provide this direct download link? please let me know
Thank you and regards
This reply has been marked as private.
Hi Nayeem, thanks for your quick response.
What we are trying to do is add an additional download button to the default link-template. This link would be to a form on another part of the website and would not be a download. However we don’t need that link on every download listing, but only on certain downloads.
We have both ACF and the WPDM – Advanced Custom Fields installed and activated. I have created a field group which allows me to add a link to each download page. So if that link field has been filled out we would like to display the button and link the button to the link in the custom field. But if the link is not filled out, we do not display the button.
thanks
Ken
This reply has been marked as private.
Hello Richard,
The new tab/window for downloading files is already in the settings. If you are trying to download in a separate window, It is also possible in the manual method, by default, you are using link-template-default.php for the link template and page-template-default.php for the page template. you can edit the files and follow this doc, https://www.wpdownloadmanager.com/doc/template-files/ for backup of your files.
For opening in new windows, please add this code replacing [download_link] in page/link templates PHP file as i described below,
<a href="[download_url]" onclick="window.open('[download_url]','newwindow','width=1200,height=800'); return false;" class="btn btn-primary" target="_blank">[link_label]</a>
Please check and let me know
Thank you and regards