Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- //add this code to the functions file
- add_filter ( 'woocommerce_product_thumbnails_columns', 'xx_thumb_cols' );
- function xx_thumb_cols() {
- var x = 5; // x is the number of thumbnails per row
- return x; // .last class applied to every x thumbnail
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement