Issue with custom templates being deleted during updates

in Download Manager Free

Viewing 6 posts - 1 through 6 (of 6 total)
Jan 4, 2026 at 11:29 am
#210431
Participant
TheTruster’s Box
OP

Hi,
I’m using the free version of Download Manager on my site and I’m very happy with it; it’s a great add-on.
To match the style of my site, I modified some of the Link and Page templates. As advised in the “Templates” section of the settings, I created new PHP files and placed them in the specific folder. They work perfectly, but every time the add-on updates, my custom templates are completely erased.
This is quite frustrating because I have to manually re-upload them via FTP each time. Otherwise, the download links on my site become completely unusable until I do so.

Could you please look into this issue?

Thanks!

Jan 4, 2026 at 11:40 am
#210432
Moderator
Tahasin
Staff

Hello,

Thanks for reaching out.

Please follow the steps below to ensure that the custom template is not deleted after the plugin update:

1. Copy page-templates or link-templates directory from /plugins/download-manager/src/package/views directory to your active theme directory.
2. Make a new directory as download-manager in your active theme directory.
3. Now remove all files from {active-theme}/download-manager/page-templates or link-templates except the template files you need to update.
4. Update/copy template file(s) in {active-theme}/download-manager/page-templates or link-template directory as per your need.

Note: If you save link/page template by following the mentioned steps it will be deleted after a theme update.

If you have further queries, feel free to ask.
Regards

Jan 4, 2026 at 12:24 pm
#210433
Participant
TheTruster’s Box
OP

Hi,
Thanks for the instructions, they solved the problem!
The path you suggested allowed Download Manager to recognize my templates. However, as you mentioned in your note, a future update of the main theme will compromise them again.
Could you consider updating the plugin to also check the Child Theme directory (using get_stylesheet_directory() in addition to get_template_directory()) when searching for custom templates? This would prevent them from being deleted whenever the main theme is updated.
Thank you!

Jan 4, 2026 at 1:33 pm
#210434
Moderator
Tahasin
Staff

I would suggest you try our Pro version. It allows you to create and save your own custom link templates, page templates, and email templates directly within the plugin, so they remain safe and intact regardless of plugin updates.

Thanks again for your helpful suggestion and for using our plugin. Please don’t hesitate to reach out if you have any other ideas or questions.

Regards

Jan 4, 2026 at 1:52 pm
#210435
Participant
TheTruster’s Box
OP

Thanks for your help, I will stick to the free version at the moment.

Bye!

Jan 4, 2026 at 2:34 pm
#210436
Moderator
Tahasin
Staff

Welcome !!

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.