Matt Fond

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
in reply to: Updating the plugin deletes custom templates #187997

Matt Fond
Participant

Hi, sorry, I’m stupid.

I was using original folder structure, but custom link template file only needs to go here, not the full original structure /{active-theme}/download-manager/link-templates

My bad. Thank you!

in reply to: Updating the plugin deletes custom templates #187996

Matt Fond
Participant

Hi, I tried your method before I contacted you here, but for some reason this does not work for me.

Here is the “original” file path:
/public_html/wp-content/plugins/download-manager/src/Package/views/link-templates/link-template-custom.php

If I move that file here:
/public_html/wp-content/themes/twentytwentyone-child/download-manager/src/Package/views/link-templates/link-template-custom.php

by your instructions then this should work, but it does not.
In the place where this code should be displayed on the site I only get:
link-template-custom.php, meaning that it still is looking for this file on the “original” location rather than in the “active theme” download-manager folder. Do you have any idea why this is happening?

Thank you

in reply to: Updating the plugin deletes custom templates #187943

Matt Fond
Participant

Hi, I think we misunderstood each other. I was thinking on download-manager link template files located here:

/wp-content/plugins/download-manager/src/Package/views/link-templates/link-template-default.php

If I create a new .php template file as instructed in the Admin message on top, then if the plugin get’s updated it deletes those files. How can that be avoided?

Thank you

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