WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Grid / List toggle
[resolved] Where to add jQuery to make list view default? (3 posts)

  1. toposwope
    Member
    Posted 1 year ago #

    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

    http://wordpress.org/extend/plugins/woocommerce-grid-list-toggle/

  2. toposwope
    Member
    Posted 1 year ago #

  3. jameskoster
    Member
    Plugin Author

    Posted 1 year ago #

    Marking as resolved

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic