WordPress opens link in same window despite target=“_blank”
-
On my page https://verein-iks.eu/dev/ I have a Facebook button on the top-right. If I click the button, I get forwarded to a Facebook page. However, the link is opened in the same window. I want it to be opened in a new window/tab. Hence, I use
target='_blank'
in the HTML code. Still, the link gets opened in the *same* window! Why?When checking the source code of the page, you can see on line 166 that the target is indeed set to
target="_blank"
. Strangely, when I inspect the element (right-click on the element and then click inspect), thetarget="_blank"
property seems to have disappeared.How can I open this link in a new window?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘WordPress opens link in same window despite target=“_blank”’ is closed to new replies.