跳到内容

WooSwipe WooCommerce Gallery

v3.0.14

THRIVE - Web Design Gold Coast · 2015年12月15日 上架

A WooCommerce product gallery built with PhotoSwipe and Slick carousel — responsive, touch-friendly, and easy to customise.

正在使用
3,000+
评分
4.5 / 5
累计下载
16 万
最近更新
2026年11月25日
39 条评价需要 WordPress 6.0+已测试到 7.1.5PHP 7.4+

截图

Gallery with a large main image, thumbnail strip and circular navigation arrows
Gallery with a large main image, thumbnail strip and circular navigation arrows
Popup / lightbox layout
Popup / lightbox layout

WooSwipe replaces the default WooCommerce product gallery with a clean PhotoSwipe lightbox and Slick thumbnail carousel.

It works with your WooCommerce product image settings. Adjust sizes under Appearance Customize WooCommerce Product Images. Regenerate thumbnails after changing sizes (for example with AJAX Thumbnail Rebuild). If your theme registers its own image sizes, those may take priority.

Features

  • Responsive and mobile-friendly
  • Keyboard control and full-size lightbox images
  • Optional main-image slider with navigation arrows
  • White or dark icon theme, customisable icon colours
  • Optional Pinterest pin button
  • Option to hide thumbnails when there is only one image
  • Works with variable products and variation images
  • Supports the [product_page] shortcode

Developer hooks

Actions

  • wooswipe_before_main — before the gallery markup
  • wooswipe_after_thumbs — after the thumbnail strip
  • wooswipe_after_main — after the full gallery

Filters

  • wooswipe_zoomed_image_size — lightbox / zoom image size (default roughly 1920×1080)
  • wooswipe_include_attachment — return false to exclude an attachment from the gallery
  • wooswipe_is_block_gallery — return true/false to force block-theme (full-width-in-column) vs classic two-column layout
  • woocommerce_single_product_image_thumbnail_html — returning an empty string for an attachment also excludes it from the main image and thumbs (see FAQ)

Zoomed image size example

add_filter( 'wooswipe_zoomed_image_size', 'wooswipe_max_image_size', 10, 1 );
function wooswipe_max_image_size( $size ) {
    return 'large';
}

More info: WooSwipe on Thrive · GitHub

Plums

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

导航

说明

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

© 2026 Plums