I am trying to remove the ‘Sort by’ dropdown on a Woocommerce Shop page
I am using this code in my functions.php
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );
However, it doesn’t seem to work for me? I have the dropdown hidden in CSS currently but I’d prefer if it wasn’t there at all rather than it being there but hidden.
- The topic ‘Removing Sort by on WooCommerce Shop Page’ is closed to new replies.