Site logo

Archived topic

How do I add rel noreferrer to a button?

3 replies · Started by Andy on September 13, 2020

Viewing posts 1–4 of 4

Hi there,

Every time I try to add rel="noreferrer" to a button via "edit HTML," I see this error: "This block contains unexpected or invalid content."

How do I add rel="noreferrer" to a regular button? Thank you

Hi there,

WordPress automatically adds the noreferrer attribute if the link is set to Open in New Tab.

Thanks David!

You're welcome

This archived topic is closed to new replies.