[Plugin: WooCommerce Grid / List toggle] Where to add jQuery to make list view default?
-
Hi,
Can someone please explain exactly where to add the following code to make list view default? I have no clue…
jQuery(document).ready(function(){
jQuery(‘ul.products’).addClass(‘list’);
});Thanks in advance
https://www.ads-software.com/extend/plugins/woocommerce-grid-list-toggle/
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘[Plugin: WooCommerce Grid / List toggle] Where to add jQuery to make list view default?’ is closed to new replies.