Giter Site home page Giter Site logo

duckdivers / woocommerce-flickity-gallery Goto Github PK

View Code? Open in Web Editor NEW

This project forked from radgh/woocommerce-flickity-gallery

0.0 2.0 0.0 1.55 MB

WordPress Plugin: Turn your WooCommerce featured image and gallery photos into an interactive image carousel using Flickity

CSS 25.56% JavaScript 18.57% PHP 55.87%

woocommerce-flickity-gallery's Introduction

WooCommerce - Flickity Gallery (WordPress Plugin)

Turn your WooCommerce featured image and gallery photos into an interactive image carousel using Flickity.

Contributors: radgh
Donate link: https://paypal.me/radgh
Tags: woocommerce, flickity, gallery, carousel, product
Requires at least: 4.1
Tested up to: 4.5.3
Stable tag: (none)
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.txt

Description

This plugin replaces the standard WooCommerce featured image and product thumbnails with an image slider / carousel powered by Metafizzy's Flickity library.

There are no configurable options, simply activate the plugin and you are done. The slider uses WooCommerce's product photo image sizes or else falls back to WordPress defaults.

Installation

  1. Upload the plugin files to /wp-content/plugins/wc-flickity-gallery/, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' screen in WordPress
  3. Visit one of your products to see the new slider in action.

Frequently Asked Questions

What about products with just one photo, or no photos?

If only one image is detected, it is displayed as a standard featured image, with no slider behavior.

What if there aren't any photos for a product?

It will use a placeholder similar to the default WooCommerce behavior.

Can this be used outside of WooCommerce, such as for a gallery shortcode?

No, the Flickity assets are only loaded on single product pages. If you want to use a gallery for other purposes, you should look for a different plugin.

Screenshots

The Flickity slider in action for a ceiling fan product Another product with fewer thumbnails

Changelog

1.0.1

  • Enabled swiping the primary gallery. Continues to open a lightbox, only if you did not swipe first.

1.0.0

  • First release

Upgrade Notice

Upgrading from 1.0.0 to 1.0.1 introduces a new version of Flickity. It should not have any adverse affects on your website, unless you are using flickity elsewhere. If you are, then you should make sure those flickity galleries continue to work as expected.

woocommerce-flickity-gallery's People

Contributors

duckdivers avatar radgh avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.