I am trying to: make a file open in a new tab. I have a types file field, and am outputting a link to that file with "View slides"
I expected to see: an option to add target="_blank"
Instead, I got: no option to add target="_blank", and if I add it to the shortcode it does nothing.
Looking through the forums, I see other people have mentioned this issue. I am wondering if it has been resolved yet.
I realize I can output the raw URL and create a link with that, but then it will output "View slides" regardless of whether the file field was filled out or not. And I could wrap a conditional around that, but I'm already a couple of conditionals deep and it's just getting overly complicated.
I'm guessing I'll use jquery to get around this, but am wondering if there is a easier way to do it that I'm missing. If not, please consider this a feature request, as it looks like people have been wanting it for years.
Hello. Thank you for contacting the Toolset support.
First of all, after checking debug information you shared with me I found that you are using outdated Types plugin.
*** Please make a FULL BACKUP of your database and website.***
I suggest you to update ALL Toolset plugins to it's latest official release version. You can download it from:
=> https://toolset.com/account/downloads/
Now, regarding your query, yes, using jQuery would be the easiest way as you described that your structure is somewhat hard to do amendments. What if you try to add attribute target="_blank" using jQuery?