Thanks for the code snippet. I was looking at this page where I have found the kind of view I like:
https://www.wpdownloadmanager.com/doc/templates/link-template/
Basically, the problem is that between Free -> Pro, the link template “link-template-default” has changed and is no longer working with my shortcode. How can I go back to a one column display?
[wpdm_category id="tickets-swiss-travel-pass-de" toolbar="0" order_by="field name" order="asc" template="link-template-default"]
Any help would be much appreciated!
Hi,
If you remove “All Visitors” from “Allow Access” option with package settings, and select other user roles, users must have to login to get access to download. Which is explained here:
https://www.wpdownloadmanager.com/doc/add-new-package/package-settings/
Also, you can hide page link from link template, by using [title] tag instead of [page_link] tag with the link template.
Doc:
Templates Overview
Are the downloads made by the master link counted?
Thanks for assistance
First of all – love the plugin! Great support and it’s super useful on my site.
What I am wondering is if there is a way to disable access to the ‘page’ that each download creates when a new product is added. I notice each product has an associated URL. That’s great and all but I want to put all the downloads on one page with shortcode on my member’s site and allow members to download it for free. That’s totally doable at the moment but I don’t like the fact anyone can access the specific download page and just grab the download for free without logging on.
Now I also realize I can jump through a bunch of settings and hoops to make each download ‘page’ created be locked but wouldn’t it be nice if I had the option to turn off the direct link from inside this plugin? Does this make sense? (see image)
The main package download link will be the same but single file download link won’t work. A new id will be assigned to the freshly uploaded file. And this id is used to server single file download.
When I activate WordPress download manager pro, all the links in my site get a red underline even the menus https://dev.mrckamouraska.com
How can I avoid this conflict?
You can generate direct download link from all packages page. Use the generate download link button under the package name.
https://www.evernote.com/l/AUetUQKK8S5MHbFC04VAwrtDoarQhVy4XKsB/image.png
Where from did you take the screenshot of the link template? Please send me the link, then I can quickly check the shortcode. It looks like a custom link template.
You can replace the [download_link] tag with <a class="btn btn-success" target="_blank" href="[download_url]">[link_label]</a> to open links in new tab.
Hello,
Please disregard my comment on https://www.wpdownloadmanager.com/support/topic/thumbnail-width/ as I see this was already resolved.
My issue is that I cannot the [thumb_WxH] tag to work in a custom link template for some reason. No matter what I use for the WxH it defaults to the original size of the featured image.
My theme generates the following sizes when I upload an image, but none of the sizes work when I use the tag ( e.g [thumb_150x150] )
150×150
165x
180×180
350x
385x
485x
570x
730x
768x
800x
90×90
95x
How do I determine which thumbnail sizes are available to me?
Thanks!
How can I send some users to download the blocked PDF by email, through a direct link?
This is the link where you can download the pdf:
https://www.foodhubmagazine.com/uscita-1/
Thanks
1. Up until today, I have used the free plugin version to set up a new page.
I have inserted the following shortcode into several dozen pages, referencing the link-template-default which rendered a nice, one-column list of downloads:
[wpdm_category id="tickets-swiss-travel-pass-de" toolbar="0" order_by="field name" order="asc" template="link-template-default"]
2. With the upgrade to the Pro version, the same link template has somehow changed (link-template-default), so all of my pages no longer displayed the same list. Here is one example where it is now showing a panel instead.
3. Since I don’t want to update 60+ pages by changing the shortcode to another link template, I figured out how to go into PHP in order to override the template.
4. For now, I have come up with the following snippet, hoping that it would nicely show my downloads like in the preview window within WP. I have overwritten the link-template-default, but the result looks pretty terrible and I can’t figure out how to make it a list again:
<!– WPDM Link Template: Default Template –>
<div class=”panel panel-default wpdm-link-template link-template-default”>
<div class=”panel-body”>
[thumb_200x100]
<div class=”panel-content”>
<h4 style=”padding-top: 0px;border:0px;margin: 0px;line-height: 1.7″>[title]</h4>
<i class=”fas fa-hdd color-red”></i> [icon]
</div>
</div>
<div class=”panel-footer”>
[download_link]
</div>
</div>
5. Can you give me the correct code snippet which will create a view such as this one of yours?
Thank you in advance!
PS. And how can I add a target=”_blank” to the DOWNLOAD button, so that a new tab opens when someone clicks the button?
Is it possible to replace/update a document within a package and retain the original File Download Link?
You have to use custom CSS to change the text color. Target the .wpdm-download-link.btn.btn-link CSS classes to customize the text, font etc of shortcode button.
The UI options apply to [download_link] tag only. So, If you want to show the download button then use a custom template and replace [download_link] with this <a class="btn btn-success" href="[download_url]">[link_label]</a>
The feature was same before but controlled from Image Button add-on.
Hi, why does that text appear in the email field?
It’s customize the text “Send Download Link To”?
Thanks
We are having a ton of issues with users inputing the correct password and then getting the “This Download Link Has Expired” error. I’ve tried multiple changes to try and fix this and cannot do so. Sometimes the download works, other times it does not.
Please help.
We need to have a password protected download package that easily downloads for everyone. This is why we purchased the Pro version.
It is not possible to hide the parent category or order by category. But you can click on the category link to filter packages.
By the way, if you want to show the parent why not drop the parent category completely?
A better solution for showing all downloads with search and filter would be Archive Page add-on. Please take a look at the demo here https://demo.wpdownloadmanager.com/wpdmpro/archive-page-default/
I’m having a separate issue now with creating passwords for a temp login.
I think it’s related to the Prime theme that I’ve downloaded from your site.
Here’s the errors that I see when I load the users link.
I’m getting a 500 error every time I try to save the user (editing the password or switching the role).
Downloads are working now.
WPDM generate download links that has this format packageurl?wpdmdl=packageid which is not working for strange reason in your server, so I had to change it to homeurl?wpdmdl=packageid.
Changed files: class.Package.php ( getDownloadURL function ) and class.FileList.php ( Table function )
Changed $permalink = get_permalink($ID); to $permalink = home_url();
It is not possible to add a condition in link/page template code. But you can add custom template tag using wdm_before_fetch_template filter hook ( https://www.wpdownloadmanager.com/doc/filter-reference/wdm_before_fetch_template/ ) and handle all conditions there.
Hi,
If you are using image button, please add the following CSS in Additional CSS option with theme customizer:
.w3eden .wpdm-download-link{
background: transparent !important;
padding: 0 !important;
}
https://i0.wp.com/www.evernote.com/l/AV0gnUL8G5VEQbX0MBH4V_WgLCVX7SrL46UB/image.png?ssl=1
Hi,
I use sitechecker to check my site, found the “Hidden Links” at the html.
The Checker Message:
Hidden links
The conscious use of hidden content that gets filled with relevant keywords is considered to be manipulation of search results by search engine providers and is therefore classified as black hat SEO.
Use Google’s recommendations to eliminate the possibility of hidden content.
How to fix
https://www.wpdownloadmanager.com/ Display: None
—
But i can’t find any Download Manager Options to disable it, please help me remove it, thanks!
Yes, the approach is the same. Instead of showing the main download button display the single file download button only which can be added to the file cart.
You have to modify your link/page template. Remove the [download_link] or [download_link_extended] template tag from there and add [file_list] tag.
This reply has been marked as private.
Hi,
I have a strange problem on my site: I suddenly cannot upload new files. I can create the package entry and select the file, but when I click on Publish the site hangs and I get a connection lost error. It looks like the file is being uploaded to the download-manager-files directory as I can see it via FTP, but it is not linked to the package entry.
Simon
How do I keep the look of [DOWNLOAD_LINK] that has been changed in version 4.9.0?
I would love to keep the look from version 4.8.11.
See attached pictures…
Thanks
Thorbjörn