Permalink
Browse files

dequeue style snippet update

  • Loading branch information...
1 parent 9cb514f commit 21e1d3ae8b90db27104d916f283a9dc2acdc69c4 @jameskoster committed Jan 31, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 readme.txt
View
@@ -40,7 +40,7 @@ Thanks! Please fork the repo on <a href="https://github.com/jameskoster/woocomme
Add the following code to the functions.php file in your theme / child theme:
`
-add_action('get_header', 'remove_gridlist_styles', 30);
+add_action( 'wp_enqueue_scripts', 'remove_gridlist_styles', 30 );
function remove_gridlist_styles() {
wp_dequeue_style( 'grid-list-button' );
}

0 comments on commit 21e1d3a

Please sign in to comment.