Created
October 18, 2018 13:48
-
-
Save wooexperte/3117932f411126ea354a8bb0c469816f to your computer and use it in GitHub Desktop.
Sortierung im WooCommerce Shop deaktivieren
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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