Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Sif

Skildring

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)

Skjermbilete

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

Installasjon

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

Vanlege spm.

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.

Omtalar

7. april 2020
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.
Les 1 omtale

Bidragsytarar og utviklarar

“Sif” is open source software. The following people have contributed to this plugin.

Contributors

Omset “Sif” til ditt eige språk.

Interested in development?

Les kjeldekoden, sjekk SVN-lageret eller abonner på utviklingsloggen med RSS.

Endringslogg

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