Hi Nayeem, I am working on this project with Arianna and am trying to make these changes. I understand what you’ve written, but as we’re using the WPDM Button Templates add-on I think the template file is located elsewhere – it’s probably coming from plugins/wpdm-button-templates/wpdm-button-templates.php
The trouble I have now is that the [download_link]
text is in code like this:
if(!wpdm_is_locked($id) && wpdm_user_has_access($id)){
return "<a href='".wpdm_download_url($package)."'>{$html}</a>";
} else
return FetchTemplate("[download_link]", $package);
I’m not sure how to replace or modify this without breaking the code – I’m not a PHP developer so I’m just using educated guesses here.