fatBuzz
3/2/2018 - 3:31 PM

WooCommerce | Remove results count and default sort

Remove the results counter and default from WooCommerce, just the add the below snippet to functions.php.

// Remove the sorting dropdown from Woocommerce
remove_action( 'woocommerce_before_shop_loop' , 'woocommerce_catalog_ordering', 30 );
// Remove the result count from WooCommerce
remove_action( 'woocommerce_before_shop_loop' , 'woocommerce_result_count', 20 );