Open Files In New Window or Tab

from 0$

Open Files In New Window or Tab is a WP Plugin Package from the Open Source WP Plugins range Makes any link to a file open in a new tab by adding 'target="_blank"' to…


For more information about a tailored WP Plugin Package like Open Files In New Window or Tab please contact us directly.

This plugin enqueues a simple jQuery script that looks for any anchor tag that has an href property to something with a file extension of 1-5 characters and makes it open in a new window or tab.

see script here

This means any link to a .pdf, .txt, .ppt, .doc, .xls, .xlst, etc will automatically have the property ‘target=”_blank”‘ added to it so it opens in a new window or browser tab.

Download & install the zip archive

The plugin package installer can be downloaded from the WP2E project tab called “code”.

1 – Select the version to download if this option is available otherwise the “latest” version of the main plugin will be used.

2 – After downloading the zip archive install the plugin package installer in you local environment and activate the script from the plugin list.

3 – Under the section “Plugins” of the admin dashboard you should see a new “Dependencies & Licenses” link. Follow the instructions from this panel to finalize the installation of the missing dependencies.

Tips: Use the WP2E panel to add/suggest new dependencies to the local installation. Press F5 in the list of dependencies if the changes are not displayed right away.

Open Files In New Window or Tab

typePlugin
version0.1
descriptionMakes any link to a file open in a new tab by adding 'target="_blank"' to…