I want to add file uploads to my site, when I do it is the complete url I just want it to show the title of the file name how can I get this to work?
This page has a file hidden link down towards the bottom, I want it to be title.pdf or title .file format not the complete url.
I tried that link you sent and put the function in the toolset custom code but when I try to use the custom short code nothing happens except it shows the custom short code on the front end. I want to get the upload-file name that is the slug from the properties type that I created.
It seems the issue is that the shortcodes are not rendering when added to the custom code section in Toolset.
Either way adding it to the functions.php file causes it to work. However I did craft a simpler solution to essentially just trim the URL for the filename only.