Skip Navigation

[Resolved] Add rel="noopener noreferrer" to target="_blank"

This support ticket is created 5 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 3 replies, has 2 voices.

Last updated by Minesh 5 years, 7 months ago.

Assisted by: Minesh.

Author
Posts
#1237564
Screen Shot 2019-04-30 at 4.28.11 AM.png
Screen Shot 2019-04-30 at 4.28.22 AM.png
Screen Shot 2019-04-30 at 4.23.27 AM.png

Add rel="noopener noreferrer" to target="_blank" to a pre-defined custom field

Is there any documentation that you are following?

Is there a similar example that we can see?

What is the link to your site?

#1237676

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Well - there is no option to add "rel" attribute to anchor tag generated using the Types URL field.

As a workaround, you should try to add pure HTML anchor tag and add your required options, obviously, it will affect frontend not backend:

For example:

<a href="[types field='your-field' output='raw'][/types]" title="[types field='your-field' output='raw'][/types]" rel="noopener noreferrer" target="_blank">[types field='your-field' output='raw'][/types]</a>

However, please feel free to submit your requirement as a new feature request using the following form:
=> https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#1237705

Um. I have thousands of posts with maps, it’s a regional destination vacation site. I NEED HELP. How is it even possible that this is not a functional part of maps? THEY’RE MAPS. This is the reason maps exist.

#1237706

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Sorry - you shared the screenshot of URL field type field namely "website":
=> hidden link

I do not understand, now you are talking about maps. Can you please share your problem in detail? Where exactly you want to display/add the "rel" attribute to URL field - on frontend correct?