Forked from mwolff44/gist:abfc7848e5cfa35b8c6a
Last active
February 17, 2016 16:57
-
-
Save neverything/786388d2989f461bd208 to your computer and use it in GitHub Desktop.
Should be enough to just remove jetpack.css
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 | |
/* | |
MU Plugin: remove-jetpack-css | |
Plugin Name: WP Remove jetpack.css | |
Plugin URI: http://required.ch | |
Description: Removes the jetpack.css | |
Version: 1.0 | |
Author: Silvan Hagen | |
Author URI: http://www.silvanhagen.com | |
License: GPLv3 | |
*/ | |
// Remove the concatinated jetpack.css | |
function remove_jetpack_styles() { | |
wp_deregister_style( 'jetpack-css' ); // Concatinated jetpack.css | |
} | |
add_action('wp_print_styles', 'remove_jetpack_styles' ); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment