Linux 软件免费装
Banner图

External Links in New Window / New Tab

开发者 WebFactory
更新时间 2024年7月17日 04:36
PHP版本: 5.2 及以上
WordPress版本: 6.6
版权: GPLv2 or later
版权网址: 版权信息

标签

links target blank external links new tab new window

下载

1.44 1.0.1 1.1.0 1.1.1 1.2 1.3 1.3.1 1.4 1.41 1.42 1.0 1.43 1.3.2

详情介绍:

Opens external links in a new tab or a or new window. You can set URLs that should either be forced to open in a new window or ignored. The plugin produces XHTML Strict compliant code and is search engine optimized (SEO). This is done using JavaScript's window.open()-function. It adds only a few lines of vanilla JavaScript to the page, and does not require any external libraries like jQuery. Most other plugins perform a hack by altering the target parameter (i.e. <a href="http://somewhere.example" target="_blank">). That method is not XHTML Strict compliant. This plugin handles the links client-side, which lets search engines follow the links properly. Also, if a browser does not support JavaScript, the plugin is simply inactive, and does not result in any errors. If you need a more advanced plugin, with more options try our free WP External Links plugin. Credits Inspired by the Zap_NewWindow plugin by Tom Köhler. The banner is a photo by Monja Da Riva. Translations Danish by Kristian Risager Larsen Dutch by Paul Staring Lithuanian by Vincent G Other translations will be appreciated! Known bugs The plugin conflicts with other plugins that change the links' `onClick´ attribute. Original developer Kristian Risager Larsen - kezze.dk

安装:

  1. Copy the plugin to /wp-content/plugins/
  2. Activate the plugin.
  3. Eventually, change the settings in Settings->External Links.

升级注意事项:

1.3.1 Wordpress 4.0-compatibility, and Dutch translation. 1.3 In Settings->External links, you can now specify URL's that should be either forced to open in a new window, or ignored. 1.2 Added: Translation-ready. 1.1.1 Fixed: Deprecation warning. 1.1.0 Better practice for opening links. Please upgrade. 1.0.1 Minor bugfix. 1.0 Ready for production. 0.9 Initial release

常见问题:

How to disable this plugin?

Just use standard Plugin overview page in WordPress admin section and deactivate it or rename plugin folder /wp-content/plugins/open-external-links-in-a-new-window over FTP access.

How can I report security bugs?

You can report security bugs through the Patchstack Vulnerability Disclosure Program. The Patchstack team help validate, triage and handle any security vulnerabilities. Report a security vulnerability.

更新日志:

1.44 1.43 1.42 1.41 1.4 1.3.3 Verified compatibility with WordPress 5.0 1.3.2 Updated: Danish translation 1.3.1 Verified compatibility with WordPress 4.0 Added: Plugin logo for WordPress 4.0 Added: Dutch translation. 1.3 Added: Possibility to force and ignore user-defined strings in URLs. This feature has been requested. Added: Lithuanian and Danish translation. 1.2 Added: Translation-ready. 1.1.1 Fixed: Deprecation warning (Thanks to boo1865) 1.1.0 Changed: Better practice for opening links. The plugin now uses the onClick-attribute instead of writing JavaScript directly into the href-attribute. This enables users to right-click the link and open in a new window/tab, save the target etc. 1.0.1 Fixed: Removes target attribute from links instead of setting the attribute to null. (Thanks to crashnet) 1.0 Fixed: Credits to Tom Köhler (Charset). Fixed: Links. 0.9 Initial release.