Hi,
Are you using this shortcode [wpdm_simple_search]
?
Do you mean you want to download from the search result page? Could you please explain this little more?
The result shows all matched packages using a link template if you want you can change the template.
Best regards.
Hi,
Please send me the page URL to check the issue. I can suggest you custom CSS to fix the issue.
You can also create a custom template if you want. Here is a detailed tutorial on that https://www.wpdownloadmanager.com/building-a-wordpress-download-manager-link-template-from-scratch/
Thanks.
You have to create columns using a builder if you have one. Or you can follow the approach shown below to show 2 downloads per row.
When using the editor select the Text
tab and then use this structure to insert your shortcode.
[wpdm_package id=5185 template="link-template-bsthumnail"]
[wpdm_package id=133 template="link-template-bsthumnail"]
You can send temporary wp-admin login info in private if you want me to create a sample for you.
and add the following custom CSS to fix the alignment issue,
.w3eden .col-md-4.col-sm-6.col-xs-12:nth-child(3)::after {
content: '\a';
white-space: pre;
}
Thanks.
Please redownload this link
Hi,
I am redirecting Error Page when I click any Download Link which was created with WP Download Manager Pro.
I am getting below ERROR :
Warning: mysqli_real_escape_string() expects parameter 2 to be string, array given in /home/eleara6v/public_html/saplearninglibrary.com/wp-includes/wp-db.php on line 1127
Warning: Cannot modify header information – headers already sent by (output started at /home/eleara6v/public_html/saplearninglibrary.com/wp-includes/wp-db.php:1127) in /home/eleara6v/public_html/saplearninglibrary.com/wp-content/plugins/download-manager/wpdm-start-download.php on line 249
Please check attached Screenshot for Your Reference.
Please help me and resolve the issue on Urgent basis.
Thank You in Advance
I have tested this again from different browsers for many many times in the last 24 hours. Still no error. Please ask your visitor which browser they are using when the error occurs.
Also, you mentioned that you are sending emails. Have you activated the email download link option in any package? Or is it just an email you are sending to your subscribers and the email has some package links?
Hello,
I am wondering how I can add a template with two buttons which are protected with reCaptcha. In templates I see for example:
“link-template-default-ext”
This one has a button after reCaptcha has been clicked. The download starts immediately. But I would like to have a similiar template like this.
One button for download on click (not immediately starting after reCaptcha has been clicked) and one button for preview which sends the file (PDF) to my installed PDF viewer Wonderplugin (wonderplugin.com – https://www.wonderplugin.com/wp-content/uploads/2017/02/how-to-create-a-wordpress-post-carousel.pdf) with a CSS class called “wplightbox”.
Any help<on this is appreciated.
Thanks
Jojo
Please send me a package link that shows the download count. I will test the reported issue. Also, make sure you have the latest version of WordPress Download Manager.
You can use the category shortcode to packages/downloads from one or more categories. This shortcode has a col
parameter which let you define the number of columns you want to use to show packages. Here is an example of category shortcode,
[wpdm_category id="slug1,slug2," cols="3" toolbar=0 desc=0 item_per_page=9 template="link-template-bsthumnail"]
If you lock your download using any lock from WPDM lock features, no one can share download links. Because those links are temporary.
Hi, please advise why the file icon has the link of a previous file. When clicked on the second file’s icon, the first file is downloaded. When it’s the third file icon, the second file downloaded, etc. Thank you.
Hi,
How can I restrict unauthorized file download if one user shares download link with someone else.
Many thanks.
Hi Team,
I am trying to showcase my download packages (2 or 3 files) side by side as shown in the attached picture. I have tried to add float property to the top div html tag. But it didn’t solve the purpose. Any help would be highly appreciated. Thanks!
Hi,
The best option to modify [file_list]
is creating a custom template tags using wdm_before_fetch_template
filter ( https://www.wpdownloadmanager.com/doc/filter-reference/wdm_before_fetch_template/ )
To modify the style of [file_list]
template tag copy the Table
function from /download-manager/libs/class.FileList.php
and link it to your filter. Then add your customizations in the new Table
function.
You have to add the code to your theme or child theme’s functions.php file.
function wpdm_table_mod(){
// paste the code from original table function here
}
add_filter('wdm_before_fetch_template', 'wpdm_custom_template_tags',10,1);
function wpdm_custom_template_tags($vars){
$vars['file_list_custom'] = wpdm_table_mod();
return $vars;
}
Please add display: none;
inline CSS in the marked position to hide the floating file cart. No other option available yet but we will add an option in the future release to hide it.
https://www.evernote.com/l/AUfIUUNtls5CzIEmMJUorfk5m9Nd3Z4IwM4B/image.png
Thanks.
You can use the following shortcode for Archive Page compact view. This shortcode has category drop-down.
[wpdm-archive button_style="inverse" link_template="link-template-panel-1-3" order_by="post_title" order="asc" items_per_page="10" cat_view="compact"]
You can also check out the sidebar view https://demo.wpdownloadmanager.com/wpdmpro/archive-page-sidebar/
[wpdm-archive button_style="default" order_by="post_title" order="asc" items_per_page="10" cat_view="sidebar"]
WPDM packages can have more than one file types in a single package. So, there is no way to create a dropdown by file type because you can manage this kind of things using category and subcategory.
No worries, My custom templates file is link-template-library.php and is in my theme folder under /download-manager/link-templates/ as told in documentation.
Advanced Search Left Shortcode
[wpdm-search-page cols="1" items_per_page="10" link_template="panel" position="left"]
Advanced Search Shortcode
[wpdm-search-page cols="1" items_per_page="10" link_template="panel"]
Archive Page Compact Shortcode
[wpdm-archive button_style="inverse" link_template="link-template-panel-1-3" order_by="post_title" order="asc" items_per_page="10" cat_view="compact"]
Please install the Advanced TinyMCE add-on. This add-on provides an easy to use a graphical user interface to insert various shortcodes including the ones you need.
How did you create your custom link templates? If you have put those files inside the Download Manager plugin dir files will be gone after deleting the plugin. If you have put those in theme dir I can safely delete the plugin to test old version.
This reply has been marked as private.
Are you testing this in an unlocked package? Open downloads are always open, you do not need a temporary link for that. Expirable links are for locked packages. This link bypasses the lock and expires after passing usage limit or usage period.
I have had over 100 readers email me to let me know when they are using Internet Explorer and click the link to download, nothing happens. I have tested and have the same problem. Please advise a solution.
I need the feature which got described here: https://www.wpdownloadmanager.com/tag/temporary-download-link/
Unfortunately when I generate a link with usage limit “1” and expiration date “5 Minutes”, it will not affect at all. I can still download the file after 20 Minutes as much as I want by this generated link.
Please help me as I really need that feature!
You have to create the /download-manager/
directory/folder inside your active theme dir. Please send FTP info and wp-admin login info in private reply if need help with that.
Btw, I missed one thing in my previous reply. You can replace the title
with page_link
in your shortcode add a link in download title.
https://www.evernote.com/l/AUdGyfNP6glDtIIMPTyrPFW7RQxtbgBTwJgB/image.png
If adding the link enough you don’t have to edit the template file. The custom template file is required only if you want to add the download link with the title.
Add the following message in Settings Basic Message Login Required Message option and set Hide Everything in Settings Basic Access Settings When user is not allowed to download:
Login is required to access this page
After setting these options, You will see a login link in packages where a user must log in to access the package.
Make sure to replace the basesiteurl
in the message with your site URL.
Are you searching from Archive Add-on Search option or is it your regular site search? Although both shows the package in my test. You can try setting the access setting to ‘Only Block Download links’
https://www.evernote.com/l/AUfDLUo-6WpGEpNm1A_pK7ZMhTR_iV8OA00B/image.png
Please send login info in private reply if you want me to check the issue there.