What is the best way to get the url to open in a new tab or window?
I don't see where "target" is a supported attribute, though it seems that naturally this type of field would need a target attribute??
Any suggestions would be much appreciated.
Oops! I didn't mention I am using an archive template and the php api to output the content đŸ™‚
Dear Lavada,
For input any "target" options to link you should create <a> tag with "target" attribute, and set his "href" attribute as your link custom type field value.
For example:
<a target='_blank' href="[types field="url-field" raw="true"][/types]">Link Text</a>
Please let me know if you are satisfied with my answer and if I can help you with any other questions you might have.
Regards,
Victor