Preserve template file when upgrading

Viewing 2 posts - 1 through 2 (of 2 total)
#118744

Hi!
I created two custom templates and saved them in the tpls directory (…/wp-content/plugins/download-maneger/tpls) but whenever I update plugin, those same templates are deleted.
How do I preserve these files in an update?

Thanks!

#118748

Nayeem Riddhi
Moderator

You can keep your tpls file in your theme, please follow this doc, https://www.wpdownloadmanager.com/doc/template-files/.

You can keep your file {active-theme}/download-manager/tpls dir as per your need.

Thanks.

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

The topic ‘Preserve template file when upgrading’ is closed to new replies.