[Plugin: Easy Comment Uploads] Display the file name only instead of the path in the comment view.
-
Great plugin.
Upon uploading a file with a comment submission, the link to the file appears as a complete path within the comment:
<a href="https://www.site.com/files/2011/01/Name of file.pdf">https://www.site.com/files/2011/01/Name of file.pdf</a>
Instead of displaying the entire path, I would just like to display the file name to the user. Desired HTML would look like this:
<a href="https://www.site.com/files/2011/01/Name of file.pdf">Name of file.pdf</a>
Any insights on how to make this possible would be appreciated.
Thanks,
Mike
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘[Plugin: Easy Comment Uploads] Display the file name only instead of the path in the comment view.’ is closed to new replies.