Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 5 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • 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?

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