Matt Fond

Forum Replies Created

Viewing 3 posts - 1 through 3 (of 3 total)
Jun 17, 2023 at 10:32 pm
#187997
Participant
Matt Fond
OP

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!

Jun 17, 2023 at 10:20 pm
#187996
Participant
Matt Fond
OP

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

Jun 14, 2023 at 7:30 pm
#187943
Participant
Matt Fond
OP

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)