Forums
Home / Fixing WordPress / Comments in new window
(@mouse)
16 years, 12 months ago
I’m using wordpress inside an iframe so if someone clicks on the link to leave a comment it opens in the iframe which is something I don’t want so I’m wondering is there a way to make the comment link open in a new window?
(@mochdremat)
16 years, 5 months ago
Hello, I’d like to do the same.
Did anyone have an answer to this?
Thanks
Ok I found it and it couldn’t be easier.
Go to your wordpress theme folder and find header.php
Put this inside the <head> section of your header.php file:
<base target=”_blank” />
Hey presto job done.
(@mouse)
16 years, 12 months ago
I’m using wordpress inside an iframe so if someone clicks on the link to leave a comment it opens in the iframe which is something I don’t want so I’m wondering is there a way to make the comment link open in a new window?