I am trying to:
There is no option to show file title for it's link when I select to show custom field which is PDF file type. It shows full link. I want file title as it's anchor text.
Link to a page where the issue can be seen:
I expected to see: File title as anchor text, I can't enter it manually as a product post as it's own files and there are plenty of products.
Currently there isn't a way to get this information for file upload fields.
What I recommend that you do is to have a separate field that would hold the title of the PDF file.
This way you can use that field to provide a title for the PDF on the frontend. Also I would recommend that you open a feature request ticket so that this can be reviewed and added because it is available for image fields. https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
These custom codes are giving the file name and not the name given to the file after it is uploaded.
Is it that the Admin creates a new post and uploads the file to the field ?
Rather than using custom code just having another field there for them to enter the name of the file and then display this on the frontend would be a more longer sustainable solution because if the code breaks then we won't be able to fix it since it is custom code.
E.g
-----File Field------
My PDF is Uploaded Here
-----------------------
-----PDF Title Field-------
Sample PDF
---------------------------------
So the admin will upload the file first then in another field define the title of the file.
Please let me know if you understand where i'm getting at.
All files are already uploaded, there are number of files, I can't manually add title for each. And that is why I think toolset has options for views and fields to make it easier. Please connect me to a different support team member.