Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save wy4tt34rp/97249004e947c0b199043c88256ac082 to your computer and use it in GitHub Desktop.
Save wy4tt34rp/97249004e947c0b199043c88256ac082 to your computer and use it in GitHub Desktop.
WooCommerce Filter Adding Captions to Gallery Thumbnails
@alfonsofernandezyf
Copy link

Thanks works great

@snshn2071
Copy link

Thanks much, this is great.

@WimRoskam
Copy link

WimRoskam commented Feb 15, 2021

It works for me too, using Woocommerce in combination with WPML in 2021. Translations are correct. Thanks a lot.

@fifionana3
Copy link

Thanks for the code! How can I edit the font size for this?

@wy4tt34rp
Copy link
Author

wy4tt34rp commented Apr 20, 2021

Thanks for the code! How can I edit the font size for this?

@fifionana3 - Just ID the CSS class via Web Inspector and change as needed. Sorry, I don't remember what it is off the top of my head. It might be "gtnCaps".

@fifionana3
Copy link

Thank you :)

@DarqueHouse
Copy link

Is there a way to display on main product only not gallery thumbnails?

@norbre-hu
Copy link

Hi, for me this repeats the caption of the product image, and not displays the thumbnail's caption. Can you please help me with this? Thank you

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