Hi Rob,
For changing the “Download” label to “Visit” change the link label from the package settings.

For the hyperlink, add a remote url for the package.

Thank You!
I’d like to insert an inline download link with the document title displayed and a direct download link. I’ve tried creating various custom link templates but always end up with the download link on a separate line.
Thanks.
Using an own template
<div class="clear"></div>
<div class="col-md-12 __2c_outer">
<div class="__2c_header">
<span class="__2c_title"><strong>[title]</strong></span>
</div>
<div class="__2c_body">
<div class="row">
<div class="col-md-6 __2c_info">
<table class="table table-bordered table-striped">
<tbody>
<!--<tr><td>Size</td><td>[file_size]</td></tr>-->
<tr><td colspan="2">[description]</td></tr>
<tr><td colspan="2"><div style="margin-top:3px;width:50%;float:left;text-align:left;font-size:8pt;font-weight:300"><i class="fa fa-files-o"></i> [file_count] file(s) <i style="margin: 2px 0 0 5px;opacity:0.5" class="fa fa-database"></i> [file_size]</div><div style="width:50%;float:right;text-align:right;">[download_link]</div></td></tr>
</tbody>
</table>
</div>
<div class="col-md-6 __2c_playlist">
<span>[play_list]</span>
</div>
</div>
</div>
</div>
Probably its some php settings from my hoster then?
Please set Only Block Download Link in Settings Basic Access Settings When a user is not allowed to download: Option. If that doesn’t work send temporary wp-admin login info in private reply.
To edit the Register text and button link, You can create a custom template from this file /download-manager/tpls/wpdm-login-form.php
file. Copy the file and place it in your /active-theme/download-manager/
directory and make necessary changes.
If you need help with that, send FTP info and wp-admin login info in private reply. I will do it for you.
Linktemplate for Download Button
<div class="media well __dl_button_frame">
<a class="pull-left" href="[download_url]" download >
[icon]
</a>
<div class="__dl_button_content">
<a href="[download_url]" style="display: block;clear: bottom;font-size: 11pt;font-weight: bold;" download>[title]</a>
<div style="font-size: 9pt;">
<i class="fa fa-database color-green"></i> [file_size] <i class="fa fa-files-o color-purple"></i> [file_count] file(s) </div>
</div>
</div>
<style>
.wpdm_icon{ max-width: 48px; width: 48px; }
</style>
Inserting:
[wpdm_package id='485']
Linktemplate for Mp3 Table
<div class="clear"></div>
<div class="col-md-12 __2c_outer">
<div class="__2c_header">
<span class="__2c_title"><strong>[title]</strong></span>
</div>
<div class="__2c_body">
<div class="row">
<div class="col-md-6 __2c_info">
<table class="table table-bordered table-striped">
<tbody>
<!--<tr><td>Size</td><td>[file_size]</td></tr>-->
<tr><td colspan="2">[description]</td></tr>
<tr><td colspan="2"><div style="margin-top:3px;width:50%;float:left;text-align:left;font-size:8pt;font-weight:300"><i class="fa fa-files-o"></i> [file_count] file(s) <i style="margin: 2px 0 0 5px;opacity:0.5" class="fa fa-database"></i> [file_size]</div><div style="width:50%;float:right;text-align:right;">[download_link]</div></td></tr>
</tbody>
</table>
</div>
<div class="col-md-6 __2c_playlist">
<span>[play_list]</span>
</div>
</div>
</div>
</div>
Inserting:
[wpdm_category id="Audio" operator="IN" toolbar="0" order_by="title" order="asc" paging=0 item_per_page="100" template="5bb0032b31828" cols=1 colsphone=1]
For the download file, I have Email Lock on with the “Mail Download Link” setting. For the Download Manager settings, I have “Skip Lock for Loggedin User” on the Email Lock, so if the user is logged in, they don’t have to email the download link. This is a good feature because I’ll already have their email, so I don’t need to ask for it again. However, I have download stats where I just see the IP address and no Username. See the two IP addresses on the October 4th download. I assume that “Skip Lock for Loggedin User” means logged in to MY SITE, not any wordpress site, correct?
Please help! This is a major problem as I rely on having the contact information for people who download our software. Here’s our download page:
Download
I’ve been using Scott Reilly’s Text Replace plugin for ages, and it’s always been perfect. But something has happened recently to disrupt it’s functioning and I’m not sure what’s up.
I have a list generated by WPDM on this page (http://nrocnetwork.org/resources/courses/nroc-math/nroc-math-standard/?target=instructors). There are many resources in the list with (secure) after the title. In each case, this should be replaced with a lock icon, per my settings in Text Replace, which is set up like this:
(secure) ► <i class=”fa fa-lock fa-lg”></i>
It has been working correctly within the context of WPDM on these pages since we built the site. I haven’t made any changes (other than usual plugin updates). I’m running WP 4.9.8 and the Text Replace plugin works fine on a test page outside of WPDM (http://nrocnetwork.org/resources/test-secure-icon/).
Can you tell what’s going wrong here? Is WPDM not filtering the other plugin’s code properly?
Here is the template code I’m using on the page where it should be working:
<div class="well c2a1">
<div class="media">
<div class="media-body">
<h3 class="media-heading" style="padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;font-weight:700">[popup_link] </h3>
<span style="float:left;padding-right:10px;"><a href="[page_url]" data-title="[title]" class="wpdm-popup-link" data-toggle="modal" data-target="#wpdm-popup-link">[icon]</a></span>[excerpt_300]
</div>
</div>
</div>
<style>.well.c2a1 .btn.wpdm-download-link{ padding: 11px 30px;font-size: 11pt; } .well.c2a1 .media-body{ font-size: 11pt; }</style>
Thanks in advance.
Hi,
There is a usage limit in download link generated for a user. You can increase it from settings if you want. Please set the desired value from the Settings Basic File Download Panel Private Download Links Usage Limit option. Set something greater than 0 as value.
Thanks.
Do you want a link to the package details page from the all downloads table? I have replaced title
with page_link
in all packages shortcode to add the details page link in package title.
When I clicked on the link from my email for my download link and I met the limit to download I got this instead of like an error on the page. This seems kind of clunky to have to download a txt file to get the error rather than it displaying on the page or something, can this be fixed or is there something funky going on?
Hi,
There is a usage limit in download link generated for a user. You can increase it from settings if you want. Please set the desired value from from Settings Basic File Download Private Download Links Usage Limit option.
Thanks.
Hi!
I’m also having people receive this error when trying to download the file. Is there a setting/reasoning for this? No expiration date noted, and it’s not password protected. Just requires a terms&conditions and email. I tried downloading, and it was fine. But a customer did forward an email to me, and I got the error as well from their link.
Thanks!
You can create a custom template that includes all information provided by all package table in each row. Then use this custom template with your Archive Page shortcode.
Here is a detailed post about custom template https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
Hi,
You can use this template tag [video_player_600]
in a custom link/page template to show video player. The number is adjustable to match your requirement. It sets the player width.
There is a built-in page template with the video player. You can use that or create your own template from Dashboard Downloads Templates page.
Thanks.
Hi,
You can edit the /download-manager/libs/class.FileList.php
file to modify the [file_list]
and [file_list_extended]
template tags. But this changes will be gone after plugin update.
So, the best option is creating custom template tags using wdm_before_fetch_template
filter ( https://www.wpdownloadmanager.com/doc/filter-reference/wdm_before_fetch_template/ )
To modify the style of [file_list]
template tag copy the Table
function from /download-manager/libs/class.FileList.php
and link it to your filter. Then add your customizations in the new Table
function.
You have to add the code to your theme or child theme’s functions.php file.
Thanks.
You have to clone the template to customize the layout. You can do it from Downloads Templates page. Please check this post about template customization https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
You can add any custom CSS in your cloned template ( custom template ). So, yes it is possible to make the title responsive.
Hi,
Download Manager sends cache headers only before it starts a download. So, it is only related to the download link, no other URL.
It looks like I posted this in the wrong forum — free instead of Pro.
After someone signs up for a download, the screen shows a box that is a couple different shades of green and we need to use our branded colors. Where are the colors specified for the box (see attachment) that displays:
DONE
Download link also sent to your email!
DOWNLOAD NOW
Hi,
I have created another link template. The design is the same as your custom template. Just replaced [download_link]
tag with the following code,
<a href="[download_url]">[link_label]</a>
I tested this template with your first package on this page https://nwzg.de/nwzg-gesundheitsbrief/. It worked.
So, you can update link template for all your packages to solve the download button issue. Or you can add a template
parameter in your shortcode to override the link template from package settings. The template
value should be the id of template you want to apply.
e.g. [wpdm_package id=24 template="5ba9485fe0687"]
Thanks.
Thanks so much.
I have purchased and downloaded ACF add on. I created a new group with Date Specified. Now how to I get it to show up using this code:
[wpdm_all_packages items_per_page="30" jstable=1 order_by="date" order="DESC"cols="title,file_count,download_count|excerpt|acf_status|download_link" colheads="Project|Project Info|Bid Date/Status|Download::155px"]
I got acf_status and assumed to put it into this line above…
This reply has been marked as private.
I have the Directory Add-On and set up an archive page similar to this demo: https://demo.wpdownloadmanager.com/wpdmpro/archive-page-green/
My package categories all have sub-categories. The down arrow icons next to each category are visible, but unlike in the demo, clicking on them does not reveal the subcategories. I’m not seeing any errors in the console. When I inspect the element it does look like the subcategory links are loaded, they’re just not popping up.
This is the shortcode I am using for the archive page: [wpdm-archive button_style=”default” link_template=”link-template-calltoaction1″ items_per_page=”10″ category=”category-slug” order_by=”field-name” order=”asc or desc” login=1]
I tried added subcat=”1″ which didn’t do anything, either.
Hi,
Clone the link/page template you are using currently. Then replace [download_link]
tag with the following code.
<a target="_blank" href="[download_url]">Download</a>
And check the Open in Browser option from WPDM settings.
This only works with the main download button. It is not possible for the individual button. That requires code customization.
Thanks.