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.
I’m not sure what’s wrong with my install, but the only way I can do this is to edit the template files directly.
I altered the page-default template (making a backup of the original first). Got the functionality I wanted, but when I follow the instructions in your link, doesn’t seem to work if I create a single-wpdmpro.php file in a subfolder of my theme called download-manager? Should it be in a sub folder of the download-manager folder?
You have to add the [download_link] template tag in your custom link template. Because this tag is used to replace the download link with lock feature.
– Category archive page URLs look like https://www.site.com/downloads/package-category/ Here downloads is category URL base. I meant before you can change this URL base if you want from Dashboard Settings Basic URL Structure Panel.
-You can set login required or permission denied message ( when the user can’t access the package ) from settings. But your link/page template should have [download_link] tag for that.
You should use the custom link/page template ( the one that opens pdf in new tab ) with the package where you have only pdf file. In other packages use default download_link tag instead.
If you can’t figure it out, Please send me the package URL and wp-admin login info in private reply to check the dialog issue.
Hello, I’ve been trying to set up my downloads so that only subscribers can download them. I set up a login page and a register page, however my downloads won’t create a link to login/registration page, they just say “Please log in to download” (see attachment.) Can you please advice on how to redirect my users to the registration/login page?
– https://www.dxf-downloads.de/category/downloads/3d-drucker-stl/ is the archive for your post category 3D Drucker .stl It is not download category archive. Download category archive url will look like this https://www.dxf-downloads.de/downloads/download-category
you can change the url slug downloads from WPDM Basic settings.
The package permalink doesn’t require the query parameter, the query parameter is used only in download button/link. You can use that direct link anywhere for package parmalink.