Skip to content

Instantly share code, notes, and snippets.

@neilgee
Created May 6, 2015 03:06
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neilgee/2134e9a31050c087c378 to your computer and use it in GitHub Desktop.
Save neilgee/2134e9a31050c087c378 to your computer and use it in GitHub Desktop.
Remove WooCommerce Default Sort and Results Amount Notice
<?php // <- dont add in the opening tag
//remove display notice - Showing all x results
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_result_count', 20 );
//remove default sorting drop-down from WooCommerce
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 );
@izzycart
Copy link

izzycart commented Mar 6, 2018

Thanks, Works Fine!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment