I’ve recently taken over a site that is using WordPress Download Manager. I’m learning quickly and doing my best to understand what the previous person was doing but, coupled with my lack of php knowledge, I’ve hit a wall.
My issue that that, on the front-end when you click on the download button, it’s opening the link in a new page. I would love for the link to lead to the Template Page. The resulting URL’s include the ?wpdmdl=XXX&refresh=XXXXXXXXXXXXXXX. If you copy the URL and take that part out, it brings you to the Template Page.
Your theme or one of your plugin was conflicting with your custom link template. I created a new one New Template with the same style but replaced the [download_link] tag with [download_url]. That fixed the issue.
Please use this new template in other packages where you encountered the same issue.
Thanks for the reply. Update php to 5.6 on the dev site and seems to have sorted activation issue. Main reason we’ve purchased pro is the customer doesn’t want the number of downloads showing on the download page: http://jenxdev.com/files/
Made a copy of the default link template, removed the [download_count] downloads bit, pointed the package to this link template but it’s still showing. How can I remove that and the number of files?
How do you edit the email address used when sending out a download link for a package and how to prevent the download package from opening unless the subscriber has used the link that was emailed
You need to change the link name from package settings to download all. Then it will show on the package. If you many packages then you can try default values addon to bulk change the link name for all packages.
You can select different link/page template for a different package from package setting. Or you can add template id with the shortcode where you are using the package, then the package settings link/page template get overridden. You can try Advanced TinyMCE button for easily insert the shortcode.
Please create a new thread and post temporary login credential in private reply to check. Or try using direct download URL in the template <a class="wpdm-download-link" href="[download_url]">Download</a> to see if the download works.
single-wpdmpro.php is different then WPDM page/link templates. WPDM page/link templates contains WPDM template tags. single-wpdmpro.php should only contain PHP code.
If you have a working solution by editing default WPDM page template then you can just place this modified copy in /active-theme/download-manager/page-templates/ dir ( this is the correct way of adding new page template without cloning builtin templates )
Sorry, Google API does not provide the direct link to download a large file without virus scan. This is a security feature of google so you do not inveterately become responsible for infecting another computer.
You may re-export the downloads post type from Tools Export and then upload it in Tool Import in new domain site.
Or there might be subdomain link still exist in the database. So you may try the search and replace plugin to find out the link with subdomain and replace with the main domain.
Dear Hasibul, thank you for replying. Strangely the pop-up’s are visible now, but an email is not sent, I checked several times. So I select to instandly download the file instead. If you are able to solve this email problem I would be grateful.
we use at several pages the Downloadlink-Button. As example there: https://www.l-mobile.com/referenz/ms-schramberg-gmbh-und-co-kg/ Iy Button is used, it should refresh the page new. But if Button is used Download starts and page is going to be refreshed, but ends within the loading icon and freeze. Page is not reloaded. You can test on several pages here also https://www.l-mobile.com/referenzen/
1 ) Save only the image URL in the custom field. Then use this URL in your custom template to show the image via the img tag.
2 ) Sory, Not sure what you meant. If you want you can activate the download archive ( from the option in your screenshot 1 ).
Yes, you can show only the category. Add following code in your theme’s functions.php to add a custom template tag for categories with no link,
When a field is empty you can hide that by adding a class in the template code. example: adding this [hide_empty:version] class in the wrapping element/div of version will hide the element if the version is empty. Please check the “Single Column, Flat ” page template code for reference.
Or you can just all of you files ( the main download and other supporting files like EULA, old versions etc ) in the same package. Pro version has the support for multiple files in the single package. Then you can use [file_list] template tag to show all files with individual download links.