Skip to content

Instantly share code, notes, and snippets.

Created Aug 30, 2013
What would you like to do?
WooSlider Single Product Image slideshow - Replace the featured single product image with a WooSlider slideshow of images
add_filter( 'woocommerce_single_product_image_html', 'wc_product_image_slider' );
function wc_product_image_slider() {
return do_shortcode( '[wooslider slider_type="attachments"]' );
Copy link

spiderflystudios commented Mar 22, 2016

Can you confirm that the code still works? Have tried it and it doesn't seem to do the job. Guessing some hooks may have changed. The goal I have is to create a custom toggle that will enable/disable this so I can choose to use a slideshow or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment