WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce Grid / List toggle
[resolved] Hide grid/list toggle in related products and checkout (6 posts)

  1. amber007
    Member
    Posted 1 year ago #

    Buttons are fine on products page but how do we hide it in single products page (related products)??

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

  2. amber007
    Member
    Posted 1 year ago #

    Anyone?

  3. jameskoster
    Member
    Plugin Author

    Posted 1 year ago #

    You could adjust the gridlist_toggle_button() function to only load on the shop/archives page. Just use an if statement. Something like;

    if ( is_product_category() || is_shop() ) {
    // button
    }
  4. amber007
    Member
    Posted 1 year ago #

    Thanks for the response... Where would you enter this code ( you are dealing with a noob)... i tried this in function.php.. doesnt work..

  5. amber007
    Member
    Posted 1 year ago #

    ?

  6. jmagehema
    Member
    Posted 1 year ago #

    I am using Grid/List plugin. The Grid works fine, but while clicking List View it gives very big pictures. Any help in customizing.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic