跳到内容

Open Files In New Window or Tab

v0.1

Andy Brudtkuhl · 2014年10月7日 上架

Makes any link to a file open in a new tab by adding 'target="_blank"' to the link.

正在使用
80+
评分
1.0 / 5
累计下载
2,927
最近更新
2014年10月8日
1 条评价需要 WordPress 3.0.1+已测试到 4.0.38

贡献者

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums