Users uploaded attachment has file path

Hi, I allowed my users to upload PDF files as an attachment in the frontend. It’s an attribute so it’s visible on page (secondary). The problem is that the attachment is not displayed as a file but as a link to the file, such as: www. mywebsite .com/wp-content/uploads/… or something like that.

Any solution to this? It’s pretty ugly and unprofessional to show everyone the path like that…

Thank you!

Hi,

Please try adding HTML to the display format of the attribute, e.g., <a href="%value%">Custom text</a>.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.