Support » Plugin: WooSwipe WooCommerce Gallery » hide slider when only 1 pic

  • First, say that it´s a wonderful plugin, congratulation and thanks for sharing with us!
    I have a question/request: is it possible to hide the slider when it has only one image?
    I think it will look better and more usable.
    Thanks for your help.

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Insert before

    107 line (if (method_exists($product, ‘get_gallery_image_ids’)) {)

    in file /wp-content/plugins/wooswipe/wooswipe.php

    if (count( $product->get_gallery_image_ids() )<1) { echo ‘<style>.thumbnails{display:none}</style>’; }

    It’s a good idea and I’ll add it to the next version 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘hide slider when only 1 pic’ is closed to new replies.