Linux 软件免费装

Affiliatize Me

开发者 smartscrutiny
更新时间 2024年5月21日 01:40
PHP版本: 5.2 及以上
WordPress版本: 6.4
版权: GPLv2 or later
版权网址: 版权信息

标签

links affiliate target blank new tab new window

下载

详情介绍:

This plugin searches links on your site for the domain that you specify in the settings, adds your affiliate ID, and makes those links open in a new tab when clicked. 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. Credits Inspired by the External Links in New Window / New Tab plugin. Known bugs The plugin conflicts with other plugins that change the links' `onClick´ attribute.

安装:

  1. Copy the plugin to /wp-content/plugins/
  2. Activate the plugin.
  3. Change the settings in Settings->Affiliatize Me.

更新日志:

1.0 Ready for production.