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

Sif

描述

Sif is a simple wordpress plugin that adds hover or flipper image in woocommerce product list, category list and related products list.
The image that is displayed on hover, is the first one in the order of product gallery.

Credits

Vector illustration credit: Vecteezy (https://www.vecteezy.com)

屏幕截图

  • Screenshot of product image.
  • Screenshot of product image on hover.
  • Screenshot of product gallery in product editor.

安装

  1. Upload sif folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress

常见问题

How do I control which image is displayed on hover?

It is the first one in the order of product gallery.

My hover image content, it is not centered, what can I do?

This happens because hover image and featured image, they have different aspect ratio. To fix it, crop hover image (First one in the order of product gallery) with the same size of featured image.

On hover it shows image with grey background with a ban icon, what it is happens ?

It is generic image, it happens because You don’t have gallery images.

评价

2020 年 4 月 7 日
I tried this plugin as I want to have this effect in my woocommerce store. It still works after being left outdated for so long. I am using Woo Version 3.9.2 and WP 5.4–en. This is really great for a plugin to work after so long without updates.
阅读所有1条评价

贡献者及开发者

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

贡献者

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

对开发感兴趣吗?

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

更新日志

1.0

  • First stable version

1.01

  • Fixed errors “Notice: WC_Product::get_gallery_attachment_ids deprecated”
  • Fixed errors when a product not had gallery images attached, now it shows a hover generic image.

1.02

  • Auto height on hover image

1.03

  • Fixed error on hover image height value

1.04

  • Fixed error on javascript public file