Skip to content

Instantly share code, notes, and snippets.

@mjesusabarca
Created July 27, 2017 21:01
Show Gist options
  • Save mjesusabarca/a1c7991a24c677a8e44ae6ba1e6a45d6 to your computer and use it in GitHub Desktop.
Save mjesusabarca/a1c7991a24c677a8e44ae6ba1e6a45d6 to your computer and use it in GitHub Desktop.
How to remove the WooCommerce results count
// 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 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment