Tell us what you are trying to do?
I have a file upload custom field that I want to display as a link (Download the file) instead of a full URL that points to the file
Is there any documentation that you are following?
I am following the default documentation on how to add custom fields to a template
Is there a similar example that we can see?
no
What is the link to your site? hidden link
Hi Shane,
Thanks for your reply.
I am using the block editor in a content template to add the field to the front end page.
I have created several custom fields to the "Webinar" Post type. One of the fields is a file upload where I upload the pdf. However, I don't want the user to see the full URL of the file location. I know there are workarounds, but I want eventually to create front end forms to add the webinar listings, so I want the front end user to be able to upload their pdfs...etc..
The html code of the block is: