- This topic has 36 replies, 3 voices, and was last updated 4 years ago by
Shahjada.
Hello,
“Download” text can be changed by editing php file of wpdm theme.
However, to change download text in the file list,
https://ftsincome.co.uk/testin-dwn/
It needs to edit in src/package/filelist.php page.
However, to edit button on shortcodes, I need to edit in another php files.
Do you just need to change download text in the filelist only?
Also updating wpdm plugin or activated theme will remove the edits unless you use child theme.
Thanks
Hello Tanvir,
I want to edit each button shortcodes, so the button shows different download text, how do I do that.
Like the text link style where I set any text as the download text, I want the same too.
And also how can list the files on https://ftsincome.co.uk/testin-dwn/ to show from the newest to the oldest.
I have been able to make it show just 14 files as I want but I don’t get the sorting.
Thanks
Hello,
Glad to hear that the 14 files issue has been fixed.
Let me know please did you edit the filelist.php for that?
Also Adding asort($allfiles); in download-manager\src\Package\filelist.php
in near around line 345 will solve the sorting issue.

However, You can also change the download text from there. Also to change download buttons in shortcode, just provide me the page url with the shortcode you are using so that I could guide you to change those too.
Thanks
OK please provide me temporary admin access of your website and ftp access.
So that I could do it.
Also please let me know the changes you want in shortcode and just let me know where did you applied changes to show 14 files. That could also create issue.
Thanks
I want to be able to set different download text for different single file package, not a total change to all download button.
The same way this Direct download link work
https://www.wpdownloadmanager.com/doc/short-codes/wpdm_direct_link-embed-direct-download-link-as-a-simple-text-link/
Or if there is a CSS class I need to add to the direct link as a simple text link to make it a button, I will appreciate.
Thanks.
Hello @science4me,
Hope you are well.
Unfortunately it is not possible currently. You can’t add different text for individual buttons. Instead, you can set different text for all the buttons as I showed in the last reply.
However, you can contact with the customization team about this issue like the another issue to get a customization service.
Thanks
Okay Tanvir,
Where Can I put the codes I put in Filelist.php so that new updates wont overwrite it
Thanks
Hello,
Sorry There is no filter available for this function . You have to manually edit this every times you update. However, if you apply customization service, they will give you the solution to use the codes without overwriting.
Thanks
The topic "How can I auto-update the file I upload?" is closed to new replies.
