WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Comments in new window (3 posts)

  1. Mouse
    Member
    Posted 7 years 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?

  2. mochdremat
    Member
    Posted 6 years ago #

    Hello, I'd like to do the same.

    Did anyone have an answer to this?

    Thanks

  3. mochdremat
    Member
    Posted 6 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic