I added File field to a post type with "Allow multiple-instances of this field" selected.
Next I need to create content template to output the files in list format. But it seems I can only choose from either of these separators : Comma, Space, Non-breaking space, Semicolon, Custom (which only allows single value). What do I need to do to output multiple files in list format?
Secondly, the output is the full URL of the file, can I instead output it as file name, eg:
Thanks Minesh, your solution will only work if the files were named properly, in which it wont work in my case as I can imagine most of my users will upload files with weird names.
Besides, it doesn't help my other part of requirements which is to output the multiple file links in list format.
But it's ok, I have decided to scrap the whole idea of using File field, instead, I will just use a WYSIWYG field and let user insert files with the Add media button. That way, they can format it anyway they wish to as well, be it ordered list or unordered list.
Thanks for your time. You may mark this as resolved.
This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.