- This topic has 9 replies, 2 voices, and was last updated 4 years, 1 month ago by
Humayon.
Hi, I’ve created a custom template for render my download links, but since the last update of wp download manager, my custom template has been replaced by another template.
By watching my custom wpdm-all-downloads.php file, apparently nothing has been changed.
How can I retrieve my custom template ?
Thank you.
Hello,
Hope you are well.
Have you followed the below instruction to customize your template files?
If not then it will be wiped with the latest update and will not be recoverable.
Thanks
Hi,
yes, it is the right folders structure, and before the update, it was my custom template that was taken into account. But since the update, it is not the case anymore.
Here is the structure of my folders in my worpdress theme:
download-manager/
> link-templates/
> files....php
> page-templates/
> files....php
page-template-default.php
wpdm-all-downloads.php
I checked, my wpdm-all-downloads.php file is my custom template, but it doesn’t seem to be taken into account as default template.
Thanks to you.
-
This reply was modified 4 years, 2 months ago by
YinYang.
Hi,
Only link or page template files should be customizable not the wpdm-all-downloads.php file.
As it’s described in the docs /{active-theme}/download-manager/link-templates.
Thanks.
ok, but my file structure never changed, and it used to work fine. So why since the update did it jump?
Thank you.
Hello,
Not sure about it as no one claimed it yet. Maybe by somehow/someone, it got deleted mistakenly.
But I can ensure you that if you maintain the page/link-template structure then it will not be removed with the future update.
Hope you understand.
Regards
I’m the one who manages this site, and I didn’t delete anything.
I need to change the structure of the table, because it doesn’t suit me, for example, to delete the thead. How can I do that?
Thanks
Hi,
wpdm-all-downloads.php is now all-packages-shortcode.php located under the download-manager/src/package directory in the latest version and I think you should be able to customize it.
You have updated from the very old version right? as code structure has been changed in the latest version.
Thanks.
Thank you, It’s fixed. How can I hide the pagination is some place of the website ? By the shortcode ?
Thank you.
The topic "custom template removed" is closed to new replies.