We will add the feature in future of WPDM. For now, you can add the following code to your theme’s functions.php file to add the category filter in all downloads admin page.
Once a form is submitted Form Lock doesn’t show the form again when the user is in the same session. But in a new session form will appear again. It is applicable to a single package/download.
But usually, people use different forms for different downloads. So, unlocking one package doesn’t unlock other packages.
You have to edit /download-manager/tpls/wpdm-all-downloads.php for this shortcode. You can find details here about modifying the shortcode templates.
You can use inline CSS or with <style> tag, jquery inside the link or page template. Follow this tutorial for this to customize the link/page template.
Hello,
where can I modify the css of the shortcode
[wpdm_all_packages]
and how (which file) can let me modify the column names/order/presence of the table?
In addition: where (exact folder and file name) can I modify the css of a custom template page or link generated by cloning a standard template?
(Downloads > Templates > Link Templates or Page Templates)
1. WPDM Block Hotlink add-on will help you to block hotlink to download URL from the external site. You must have to click on download button placed in your site to download packages. The external site can only place the link with your page.
You can try putting the download link on another domain site and see if it can be downloaded. Because the plugin will block the download.
2. If you want to show you packages on any page or homepage, you can try shortcodes like All packages list, here’s the demo. Or You can use category shortcode on the page, here is the demo.
Your server is blocking the WPDM ajax request. Are you hosting on Siteground? In that case, please add the following code to your .htaccess to allow the ajax request. That should fix the password generator issue.
About the Downloads add-ons page, that page actually doesn’t have relation with WPDM features. It just lists available WPDM add-ons you can purchase. However, we fixed that error but the new version hasn’t been released yet. We are running some final tests before the release.
The pro version supports the columns width. Please check the documentation here.
If you want to specify width for a colum, add the width after column head with :: seperator. Ex: colheads=”Title|Categories|Update Date::200px|Download::100px” will make Update Date column width 200px and Download column width 100px
Hello,
Having a very strange problem with one of our sites. The thumbnail value as inputted into custom templates, as an example: [thumb_500x250] no longer works, and shows a broken image. However, if I change this value to [featured_image] it works. In fact, I had to change all my templates to the featured value. Currently using WP Downloads version 4.7.2. Any ideas how to resolve? Thanks in advance.
Download Manager Pro 4.7.3 , WPDM – Form Lock 1.6.0, Contact Form 7 5.0.1 , WordPress 4.9.4.
on https://www.avfx.com/boston-venue-guide/ I have a download package. The package downloads a PDF. Link Template = “Call to Action 3” and Page Template = “Default Template”. The form is Contact Form 7. The form displays in a pop-up and the **pop-up cannot be closed**. The only way off the page once the pop-up is displayed is to close the browser window. This is not usable this way.
Can you please fix your demo so that when you click on this button
it doesn’t “open” but instead it “downloads”, and then tell us all how you fixed it? Is there a mime-type line of php we need to add?
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,
The single-wpdmpro.php file should be in /themes/active-theme/single-wpdmpro.php location because it a core WP supported template. The /themes/active-theme/download-manager/ dir is for other templates like all downloads, login, reg form etc.
Dear Shahriar, I tried this. Now all documents are getting an pop-up where I am asked if I would like to open it with word/excel or if I would like to save it/download it. but now all our downloads can no longer be opened with the office applications. we receive an error that the documents have problems and we can only see hieroglyphics in office.
now i unchecked the “open in browser”, but the documents are still opened with a pop-up and there are still all the errors.
can you please help us?
– “you can change the url slug downloads from WPDM Basic settings.” Sorry I don´t understand it. Can you please change it.
– “Acess” ok they hide the download Button. Can I make there a Note that the User are not allowed to download. Only hide Button is not so good I think. See Screenshot.
Normal User”Abonnent” are only allowed to download one file per day from the free files. Are Settings for this OK?
– 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.
Say I have 200 downloads in the “oranges” category and before the download template, I want to add some text that only gets displayed if it’s the “oranges” category like “here are the oranges downloads”
I can’t create a new template, as I’d have to set it manually on 200 downloads.
So in my real world example I have 200 or so downloads, and I have a page of instructions on how to use the downloads of a certain type.
What I’d like is to be able to add that link above the downloads, or in the text description to show people where to get help with them.
Hope this makes sense, and hope it can be done in some way. I’ve looked at conditional tags, but I wouldn’t know where to begin using them with WPDM.