WordPress.org

Forums

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

  1. toposwope
    Member
    Posted 2 years 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 2 years ago #

  3. jameskoster
    Member
    Plugin Author

    Posted 2 years ago #

    Marking as resolved

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce Grid / List toggle
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic