• jandrews88

    (@jandrews88)


    Is there a plugin to open all links in a new window? Yes, I know you can add target=”_blank” to the URL to have it open in a new browser window…but I don’t want to manually do that for each URL I add to the blog. Is there a plugin/hack that will automatically open all links in a new window?

Viewing 8 replies - 1 through 8 (of 8 total)
  • vkaryl

    (@vkaryl)

    I don’t *think* so…. not as far as I can recall at this point.

    Chris_K

    (@handysolo)

    vkaryl

    (@vkaryl)

    Hmm. Missed that. Not a plugin, but just as viable.

    Thread Starter jandrews88

    (@jandrews88)

    Awesome. Thanks HandySolo. Just one question…What file do I put the Javascript code into? Michael says to place the code in the head section of the page…that’s great, but which page? Which file? How about “post.php” within the “Wp-admin” folder? Will that work?

    Truth

    (@truth)

    in the <head> and </head> of the header.php inside your theme? just a guess.. ??

    Chris_K

    (@handysolo)

    Yup, Truth is right. You only should have one head section (typically header.php) and you only want to edit theme files.

    nobik

    (@nobik)

    hello Zap_NewWindow opens all your external links in a new window.
    https://www.zappelfillip.de/index.php/2005-12-05/zap_newwindow/

    Thread Starter jandrews88

    (@jandrews88)

    Truth and HandySolo – Thanks! If I decide to use the Javascript hack, I’ll make sure to put in inside the head tags inside “header.php.” Nobik, looks like you found what I was looking for. I’ll install the Zap_NewWindow plugin ASAP; if that doesn’t work, then I’ll try the Javascript hack. Thanks, guys.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Plugin to open all links in a new window?’ is closed to new replies.