-
-
Save Giannisduke/1b077d2fcfdfe9531e29a7a8d0badde8 to your computer and use it in GitHub Desktop.
facetwp replace woocommerce sort with facet sort
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
<?php | |
if ( ! function_exists( 'woocommerce_catalog_ordering' ) ) { | |
/** | |
* Output facet sort box instead of woocommerce's | |
*/ | |
function woocommerce_catalog_ordering() { | |
echo facetwp_display( 'sort' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment