跳到内容

Thumbnail Link for WooCommerce

v1.1.0

Christian Zimpel · 2020年6月8日 上架

Link product images in your shop to any external URL – perfect for affiliate products.

正在使用
10+
评分
暂无
累计下载
6,753
最近更新
2026年10月25日
需要 WordPress 6.2+已测试到 7.1.5PHP 7.4+

截图

The External link field in the product data.
The External link field in the product data.

By default every product image in your WooCommerce shop links to the product page. This plugin adds an External link field to each product. Fill it in and the product image and title in the shop link straight to that URL, opened in a new tab.

Typical use cases:

  • Affiliate products (Amazon, Awin, Digistore24 …)
  • Products that are sold on another platform
  • Teasers that should lead to a landing page

Features

  • One extra field in Product data General.
  • Works with classic shop templates and with block themes (Product Collection block).
  • External links get target="_blank" and rel="noopener nofollow".
  • Products without an external link behave exactly as before.
  • Compatible with High-Performance Order Storage (HPOS) and the Cart/Checkout blocks.
  • Lightweight: no settings page, no database tables, no tracking.

For developers

Change the link attributes with the filter tlfw_link_attributes, for example to mark affiliate links as sponsored:

add_filter( 'tlfw_link_attributes', function ( $attributes, $product ) {
    $attributes['rel'] = 'noopener sponsored';
    return $attributes;
}, 10, 2 );

Plums

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

导航

说明

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

© 2026 Plums