We have a site that uses the plugin “WP-Filebase Pro.” We are trying to get all documents transitioned over to Download Manager.
We’ve done testing with the WP-Filebase Data Importer and it looks to be successfully importing the existing documents into Download Manager. However, all document links on the site are referencing the WP-Filebase Pro using the shortcode feature. Has there been any solution developed that would also aid in updating the document links on the site so that they point to the Download Manager documents instead? Or is there a feature that would apply the same shortcodes to the documents in Download Manager?
Thank you!
Hi! hope you doing good, how can show the download button on the post tamlate?
I am using ‘rehub’ theme , and the theme have custom post layout tamplate so I am thinking that if I can display the download button on the theme post template without dwpmpro page template it would be better for me . I tried it throght php but it does not work. here is the sample
<?php
$package_id = get_post_meta(get_the_ID(), 'package_id_meta_key', true); // Replace with your meta key
if (class_exists('WPDM\Package')) {
echo \WPDM\Package::downloadLink($package_id);
} else {
echo 'WPDMPro plugin is not active.';
}
?>
<?php
// Get the current post's ID
$post_id = get_the_ID();
// Check if the WPDMPro plugin is active
if (class_exists('WPDM\Package')) {
// Get the package ID associated with the post
$package_id = get_post_meta($post_id, 'package_id_meta_key', true);
// Check if a package ID is available
if (!empty($package_id)) {
// Get the download URL for the package
$download_url = \WPDM\Package::get($package_id)->fileURL();
// Check if a download URL is available
if (!empty($download_url)) {
// Display the download link
echo '<a href="' . esc_url($download_url) . '">Download</a>';
} else {
echo 'Download link not available.';
}
} else {
echo 'Package ID not found for this post.';
}
}
?>
[download_link]
So we upgraded from free to pro, and discovered the template we were using, was not included in pro. “link-template-default-old”
I was hoping to use the Import Template feature, but it doesn’t appear (did I miss it) to allow me to upload a file.
So I was hoping just to put this file into the template directory, but the instructions say “If you seriously want to edit any pre-designed template you have to edit those directly edting php files at /download-manager/templates/ dir” and when I log into the server and go to wp-content/plugins/download-manager there is no templates directory.
So I’m looking for some help.
P.S. you have a misspelling in the word “edting”.
Hi, emails are not being sent/received when I test the email lock feature. I’ve toggled on “Mail Download Link” and “Download Instantly” and emails don’t come through (I’ve checked spam, promo folders, etc.) either way. This is the only reason I purchased the pro version. Any advice? Thank you.
Hi
I’ve tried to get my new licesne key and its not showing on the purchases or download page. I put the order in and hit resolve and it says it already linked. Please advise
On the download link…how can I style the background to resemble my site. I don’t really want to go into complex style development.
wanted to change.
to resemble the icon block
I use Elementor the latest version
Hello,
I am writing to seek assistance with a challenge I’ve encountered while using the Pro version of WP Download Manager (WPDM).
I have created a custom PHP template for the links, and within the template, I have included a call to display the custom field “expiration date” immediately after the links.
The issue I’m facing is that the custom template works perfectly when used independently. However, when I associate it with the Download Manager shortcode that allows package filtering, the “expiration date” is no longer displayed.
After analyzing the code, I noticed that the shortcode does not provide access to the individual package IDs, which consequently prevents access to the custom field.
To illustrate this issue, you can visit the following page: https://new.ospedaliriunitipalermo.it/archivio-delibere/ and enter the password “olomedia.”
On the page, you will notice two blocks of links. In the first block, the expiration date is displayed alongside each link, and I have also printed the IDs, which are all correct. However, in the second block, where the search fields are located, the same ID “5798” is displayed for each package, which is not the post’s ID but rather the one from the page where I inserted the following shortcode:
[wpdm_category id="delibere, archivio-delibere" operator="IN" toolbar="1" paging="1" orderby="update date" order="desc" items_per_page="10" template="olomedia_show-exp-date" cols=1 colspad=1 colsphone=1 async=1]
I am eager to resolve this issue and ensure that the expiration date is correctly displayed even when using the shortcode for package filtering. Your guidance and assistance in solving this matter would be greatly appreciated.
Thank you for your prompt attention to this matter. I look forward to your response.
Best regards