Created
March 20, 2012 15:46
-
-
Save mikejolley/2137324 to your computer and use it in GitHub Desktop.
Remove WooCommerce CSS from shop page
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 | |
add_action( 'wp_enqueue_scripts', 'rcd_exclude_css_from_shop' ); | |
function rcd_exclude_css_from_shop() { | |
if( is_shop() ) { | |
wp_dequeue_style('woocommerce_frontend_styles'); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment