该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Affiliatize Me

描述

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.

屏幕截图

  • Affiliatize Me settings

安装

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

评价

此插件暂无评价。

贡献者及开发者

「Affiliatize Me」是开源软件。 以下人员对此插件做出了贡献。

贡献者

帮助将「Affiliatize Me」翻译成简体中文。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

Ready for production.