Site logo

Archived topic

Add rel sponsored and nofollow to hyperlinks in Headline block

3 replies · Started by Sasha on July 19, 2021

Viewing posts 1–4 of 4

Hi there – 

I am using the Headline block to create some styled text for CTAs.

When I add a link to the text in the Headline block, I am unable to mark the link as "sponsored" and "nofollow" like I can for regular hyperlinks in the WP paragraph block.

How can I add this info to the link?

Thanks!

Hi Sasha,

You can edit the HTML structure of the block to add the attributes.
https://share.getcloudapp.com/8LuoARXz

When you click "Edit as HTML", the block will turn into an editable HTML code. With this, you can add rel="nofollow" and other attributes you need to add in it.

Perfect – Thank you!

No problem. Glad to be of any help. :D

This archived topic is closed to new replies.