Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Sortierung im WooCommerce Shop deaktivieren
* Enfernt die WooCommerce Standardsorierung von der Shopseite.
add_action( 'after_setup_theme', 'remove_woocommerce_catalog_ordering', 1 );
function remove_woocommerce_catalog_ordering() {
remove_action( 'woocommerce_before_shop_loop', 'woocommerce_catalog_ordering', 30 ); // Bei Theme Storefront, 30 mit 10 autauschen.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment