Hi there,
for a post type I created some File custom fields so I can upload pdfs and so on by inserting their link to the media file.
On the end page I created a view that displays them through a repeating field.
I'm trying to find a way to make the link open in a new tab. I figured I could use the target="_blank" in the inline styles but this didn't work. What am I doing wrong? (see screenshot)
For example, if your file type custom field's slug is "post-files", the HTML for the output, with the target="_blank" attribute, can look like this:
( example screenshot attached )
For the "Repeating Field" block for the "File PDF" custom field, I've added the slightly updated custom code and it seems to be picking up the custom CSS styles for the icon, correctly: