Title: Open in New Window Plugin
Author: Keith P. Graham
Published: <strong>November 24, 2009</strong>
Last modified: July 14, 2024

---

Search plugins

![](https://ps.w.org/open-in-new-window-plugin/assets/banner-772x250.jpg?rev=654296)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/open-in-new-window-plugin_81927c.svg)

# Open in New Window Plugin

 By [Keith P. Graham](https://profiles.wordpress.org/kpgraham/)

[Download](https://downloads.wordpress.org/plugin/open-in-new-window-plugin.3.0.zip)

 * [Details](https://mri.wordpress.org/plugins/open-in-new-window-plugin/#description)
 * [Reviews](https://mri.wordpress.org/plugins/open-in-new-window-plugin/#reviews)
 *  [Installation](https://mri.wordpress.org/plugins/open-in-new-window-plugin/#installation)
 * [Development](https://mri.wordpress.org/plugins/open-in-new-window-plugin/#developers)

 [Support](https://wordpress.org/support/plugin/open-in-new-window-plugin/)

## Description

The Open in New Window Plugin Plugin uses JavaScript to target external links to
a new browser window, leaving your blog page open.
 Since it uses javascript, it
targets more links than using a plugin that filter pages and rewrite the link. The
plugin will find many links generated in scripts or pasted into posts and comments.
Due to the limitations of javascript it will not be able target links in iframes
such as Adsense and some other affiliate links.

### Support

This plugin is free and I expect nothing in return. If you wish to support my programming,
buy my books:
 https://linktr.ee/keithpgraham

## Installation

 1. Download the plugin.
 2. Upload the plugin to your wp-content/plugins directory.
 3. Activate the plugin.

## Reviews

![](https://secure.gravatar.com/avatar/58aff5947def01540532681b6980371e27be455d5c8adeb6f60c61424630cbfe?
s=60&d=retro&r=g)

### 󠀁[Works with No Fuss](https://wordpress.org/support/topic/works-with-no-fuss-3/)󠁿

 [CyberCobre](https://profiles.wordpress.org/cybercobre/) February 6, 2021

Install, check the Settings page Settings > Open in New Window and uncheck the images
etc checkbox if you want, and you’re done. Nifty. Works. No fuss.

![](https://secure.gravatar.com/avatar/59044663349af446e2d647da5dfc100e7b367ec2fbb41e55bbdcdbcece14ee6b?
s=60&d=retro&r=g)

### 󠀁[It worked](https://wordpress.org/support/topic/it-worked-56/)󠁿

 [Craig](https://profiles.wordpress.org/catholicservant/) April 9, 2019

Not much to say, but it worked as advertised. 🙂

![](https://secure.gravatar.com/avatar/42488148bdcab033d6886d8cf33c47f1a65a79ce722d4ebcd69152fbe750c290?
s=60&d=retro&r=g)

### 󠀁[Works like a charm!](https://wordpress.org/support/topic/works-like-a-charm-1205/)󠁿

 [peteto2006](https://profiles.wordpress.org/peteto2006/) February 24, 2018

I installed different plugins with that purpose, but none of them worked with my
custom theme. This one works like magic! Thank you! You saved me lots of time!

![](https://secure.gravatar.com/avatar/e08e39e21cc5dc510fca4d909f382776ad0f323ed1068e195bb12214a17c5f4e?
s=60&d=retro&r=g)

### 󠀁[Works great!](https://wordpress.org/support/topic/works-great-4352/)󠁿

 [JNashHawkins](https://profiles.wordpress.org/jnashhawkins/) October 6, 2017

Works fine here on Twenty Seventeen Theme and this is a multisite install

![](https://secure.gravatar.com/avatar/8dc8d8bf6d36dd75a0013c1ed39bedb840f0fb2b8248341eeb95984a582dbfc5?
s=60&d=retro&r=g)

### 󠀁[Happy with the way the plugin works](https://wordpress.org/support/topic/works-fine-631/)󠁿

 [O_Breda](https://profiles.wordpress.org/o_breda/) April 30, 2018

I’ve been using this plugin for a few years. I am pleased with the functionality
of the plugin. No problem whatsoever.

![](https://secure.gravatar.com/avatar/e5d3bdca5e4964ec8e5a0924031e01d8407c88d1d9b10f9a57dd3f95e17c2b6f?
s=60&d=retro&r=g)

### 󠀁[It just works!](https://wordpress.org/support/topic/it-just-works-233/)󠁿

 [mavery76266](https://profiles.wordpress.org/mavery76266/) October 7, 2016

There’s not much to say. I installed the plug-in and just like that external links
opened in new tabs. This shouldn’t be necessary since WordPress offers an “Open 
in new window” option when creating a link, but it doesn’t seem to work, so third
party developers have make it work.

 [ Read all 16 reviews ](https://wordpress.org/support/plugin/open-in-new-window-plugin/reviews/)

## Contributors & Developers

“Open in New Window Plugin” is open source software. The following people have contributed
to this plugin.

Contributors

 *   [ Keith P. Graham ](https://profiles.wordpress.org/kpgraham/)
 *   [ keith graham ](https://profiles.wordpress.org/keith-graham/)

[Translate “Open in New Window Plugin” into your language.](https://translate.wordpress.org/projects/wp-plugins/open-in-new-window-plugin)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/open-in-new-window-plugin/),
check out the [SVN repository](https://plugins.svn.wordpress.org/open-in-new-window-plugin/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/open-in-new-window-plugin/)
by [RSS](https://plugins.trac.wordpress.org/log/open-in-new-window-plugin/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 2.9

 * Tested under WordPress 6.4.2

#### 2.8

 * Tested under WordPress 5.7

#### 2.7

 * Tested under WordPress 5.4

#### 2.6

 * Fixed a bug in the javascript loader url.

#### 2.5

 * Changed comments to /_…_/ so that javascript compressors will not get confused.
 * Fixed bug in the way options are stored.
 * Fixed bug in the way control js was loaded.

#### 2.4

 * Major rewrite.
 * Uses script enqueue methods so WP loads the scripts.
 * Fixed some problems with the scripts. THey should compress correctly now.
 * set up so translations might work (but I doubt it).

#### 2.3

 * Added security check.
 * broke up the program to reduce load overhead
 * added the first settings option to this plugin. Some files types, when found 
   in local site, can be forced to open in a new window. These include: .pdf, .mp3,.
   jpg, .gif, .tiff, .png, .doc, .rtf, .docx, .xls, .wmv, .mov, .avi, .zip, .rar,.
   7z and .arc. Check off the option box in the settings. On by default.

#### 2.2

Fixed bug in javascript that allowed some types to open in new window.

#### 2.1

Added support to load certain file types in a new window. Disabled in wp-admin screens
to prevent reported issues with the admin toolbar.

#### 2.0

Now loading the script as a js file in order to cache the hits and speed page loads.

## Meta

 *  Version **3.0**
 *  Last updated **2 years ago**
 *  Active installations **2,000+**
 *  WordPress version ** 3.0 or higher **
 *  Tested up to **6.6.5**
 *  Language
 * [English (US)](https://wordpress.org/plugins/open-in-new-window-plugin/)
 * Tags
 * [links](https://mri.wordpress.org/plugins/tags/links/)[new window](https://mri.wordpress.org/plugins/tags/new-window/)
   [Open](https://mri.wordpress.org/plugins/tags/open/)[outbound](https://mri.wordpress.org/plugins/tags/outbound/)
 *  [Advanced View](https://mri.wordpress.org/plugins/open-in-new-window-plugin/advanced/)

## Ratings

 4.8 out of 5 stars.

 *  [  15 5-star reviews     ](https://wordpress.org/support/plugin/open-in-new-window-plugin/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/open-in-new-window-plugin/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/open-in-new-window-plugin/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/open-in-new-window-plugin/reviews/?filter=2)
 *  [  1 1-star review     ](https://wordpress.org/support/plugin/open-in-new-window-plugin/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/open-in-new-window-plugin/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/open-in-new-window-plugin/reviews/)

## Contributors

 *   [ Keith P. Graham ](https://profiles.wordpress.org/kpgraham/)
 *   [ keith graham ](https://profiles.wordpress.org/keith-graham/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/open-in-new-window-plugin/)