Yes, got the issue. WPDM adds a default <div>
to wrap the link template. Currently, there is no way to remove it excepting by editing code. You can remove the wrapping div from /download-manager/libs/class.Shrotcodes.php
Package
function.
https://www.evernote.com/l/AUci2rIk8w9LJ6_xuX4YWmxgBsyIO-L92SEB/image.png
Hi,
I already have a custom template for that called: link-template-aa-custom-link.php, but it closes the paragraph and puts the download link on the next line:
[title]
@timotime, solution is mentioned at #57504
Please add those 2 lines of code at the end of your active theme’s functions.php, visit the homepage for one, then removed those code, that will solve it, however, we are adding those 2 options at wpdm admin settings with the next update of the plugin.
Yes, this is very easy actually, you can control the data visibility from the link and page templates. Docs:
Templates
Suddenly and without explanation, users have not been able to open or download package files when using Google Chrome. When clicking the link it takes them to a new page with an error message. They are able to download using IE and other browsers. This problem began with the previous version of WPDM installed and continues after the latest update. Clearing the browser cache does not solve the issue and deactivating all other plugins does not solve it either. The error received is pasted below along with a screenshot. The url is valid and works in other browsers.
This site can’t be reached
The webpage at http://www.chicagocop.com/download/animal-cruelty-to-animals-class-a-misdemeanor/?wpdmdl=12387 might be temporarily down or it may have moved permanently to a new web address.
ERR_INVALID_RESPONSE
Create a custom link template with the following code.
<a href="[download_url]">[title]</a>
Hello, I was having the same problem, where only the shortcodes showed up. I reverted to WordPress 4.8 and the previous version of Download Manager pro, and it works now.
To duplicate the problem, on my staging server. The download links were displaying normally, then I:
1) Updated WordPress 4.8 to 4.8.1.
— Download links still worked.
2) Upgraded Download Manager Pro from 4.6.7 to 4.6.8
— Download links broke, only shortcodes showing up.
The plugin behaves as if it is deactivated because all the menu items in the left side are gone, but the plugin is active.
What link template option do I use if I want to embed the download pdf title with a link in the middle of a paragraph?
For example:
This is a paragraph. Download the Board Requirements Document to learn more.
Your license key for the order id ( 55d8cfcfd2f84 ) is linked to bonnenglishsingers.de
Do you want to unlock it from there? If you are getting the invalid key issue in this site please update your version of Download Manager there. That should fix it.
It will require 2 hours of customization. We will develop a custom template tag which you can use in your custom link/page template to open pdf in lightbox.
Customization will be delivered as an add-on within 1-2 days.
If you want to proceed, please use the following link to complete the payment. Our customization rate is $75/Hour.
https://www.2checkout.com/checkout/purchase?sid=1560048&quantity=2&product_id=4
In payment page, select the currency USD if it is set to something else.
Please email a link of this topic to customize@wpdownloadmanager.com after payment completion.
No, there is no option to set link template there. Although you can use you modify the table using your own template ( /download-manager/tpls/wpdm-all-downloads.php
) for this shortcode.
Template cusotmization doc https://www.wpdownloadmanager.com/doc/template-files/
Archive Page has many other shortcodes too not only simple search. Demo link ( Last Menu items in demo ) https://demo.wpdownloadmanager.com/wpdmpro/archive-page-default/
You can try WPDM Search widget if you want to use core search feature.
1 ) Does MailChimp list get the leads after confirmation? Try using a new email.
2 ) Not possible yet. The download link is sent the first time.
1. I have set the MailChimp for double opt-in but it is not working.
2. When clicking subscribe the file downloads and an email is sent with the download link. Shouldn’t they be able to download until after they are subscribed after the double op-in?
yup, I understand that. But just be aware that the “fix” in that file, is not actually the fix. The fix is to use the correct URL. The file was supposed to contain a fix so that cross-domain access becomes a non-issue. This is how it should be, since multisite users often have sites with different domains, even on the admin side. As it stands right now, I have to create a special link to add downloads, and in some cases (such as editing an existing item) change the link after loading the page, because the standard link (in the admin sidebar menu) does not work. I hope you can provide a file that does fix this issue. Thanks.
We recently upgraded to WP Download Manager v4.6.7 from v4.6.3. The updated WPDM plugin has introduced an issue with the Advanced Custom Fields plugin (the separate plugin by Elliot Condon, not the WPDM add-on.)
We are outputting WPDM shortcodes within an ACF Flexible Content field. There are several blocks of content within the ACF field that contain WPDM shortcodes (which are outputting links to individual packages.) Using v4.6.3, there were no issues displaying multiple ACF flexible content blocks with WPDM shortcodes. However, with v4.7.6, the system now displays the first content block containing WPDM shortcodes and then stops outputting the subsequent blocks. If the WPDM shortcodes are removed from the first block, it will continue to process content blocks until it hits one with WPDM shortcodes. It will render that block then stop. The rest of the page renders fine and no errors are thrown.
We tried deactivating WPDM, deleting and reinstalling. No luck there. Reverting to v4.6.3 resolves the issue. Any recommendations?
This reply has been marked as private.
In the free version: template=”link-template-button-popup.php” – the link would include the document name. However, in the paid pro version the link for template=”link-template-button” only shows the “Download” link without including the name.
All I want to display is a list of files where their actual names display as the link title. I was able to accomplish this in the free version with that button-popup template. How can I do this with the pro version?
This reply has been marked as private.
it seems like you didn’t configure link and page template properly. Here is the doc: https://www.wpdownloadmanager.com/doc/templates/
However, if you want me to set those up, please give me temporary wp-admin login info in a private reply.
I pulled in a list of documents from a specific category. It’s lists the document links, but the links only go to a blank page instead of having a popup to download the file:
https://littledixie.devcourtland.com/documents/
Bug:
In TinyMCE, while adding “Quick Pack” even if you choose the Link Template it won’t have any effect. It won’t use that Link Template you choose.
Solution:
Add your template code into this line in bold:
function wpdm_quick_pack() {
$id = \WPDM\Package::Create($_POST[‘file’]);
echo “[wpdm_package id='{$id}' template=\"596e2b93d8d8c\"]“;
die();
}
Bug2:
When single file download disabled, if you add a package using TinyMCE editor it won’t enter the file’s size.
Solution:
Add this line in bold to the function. Now it will correctly enter the size of file to the database.
function wpdm_quick_pack(){
$id = \WPDM\Package::Create($_POST[‘file’]);
$size = \WPDM\Package::Size($id, true);
echo “[wpdm_package id='{$id}' template=\"596e2b93d8d8c\"]“;
die();
}
Hey,
Our business supplies building certificates to different clients, what that means is that we usually receive pdf files over email and after we’re done working on them, we then put them on dropbox and send our clients a link to go and download. It is important that each client can only access their own file since these are legal files for the council.
We also don’t want people to have to log in before each download since some clients only work with us once or twice, what solutions does WordPress Download Manager have for this?
Thanks in advance
Hi Savvas,
There is no option yet to send email in this case. But it is a great idea. We will add an action there to hook any necessary task if this case happens.
For now, you can send the email by adding the following code in /download-manager/wpdm-start-download.php
file.
$message = 'Attached files are missing in this package ' . get_permalink( $package[ 'ID' ] );
wp_mail( 'admin@site.com','File Not Found!', $message );
Add this code after the indicated line,
https://www.evernote.com/l/AUcSVzFy5DVPQqCA9N7Gpod0FLbTPIedtHYB/image.png
And obviously, change the email address in the code.
Regards,
Shahriar
Sorry Tom, I can’t help but I want to say that it is the same for me:
[wpdm_tree category=”name” download_link=1] does not work anymore since updating to the latest versions.
Has the tree category been discontinued or is it not supported in the free version anymore ? Please advise asap.