Skip to content

Instantly share code, notes, and snippets.

@neverything
Forked from mwolff44/gist:abfc7848e5cfa35b8c6a
Last active February 17, 2016 16:57
Show Gist options
  • Save neverything/786388d2989f461bd208 to your computer and use it in GitHub Desktop.
Save neverything/786388d2989f461bd208 to your computer and use it in GitHub Desktop.
Should be enough to just remove jetpack.css
<?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