Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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

This comment has been minimized.

Copy link

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
You can’t perform that action at this time.