Skip to content

Instantly share code, notes, and snippets.

@hirejordansmith
Last active April 20, 2017 01:36
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hirejordansmith/a3537b330302c6ecda07 to your computer and use it in GitHub Desktop.
Save hirejordansmith/a3537b330302c6ecda07 to your computer and use it in GitHub Desktop.
WooCommerce Snippets
<?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 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment