Support » Plugin: Jetpack by » Remove the CSS

  • Resolved Tom Goering


    I had all of the required CSS incorporated into my own single file before version 3.2. And now, there is another one. How do I get rid of it — my visitors don’t need the extra round trip to the server to pic up a document they don’t need.

    I want this line removed from my <head>,

    <link rel='stylesheet' id='jetpack_css-css' href='sitename/wp-content/plugins/jetpack/css/jetpack.css?ver=3.2' type='text/css' media='all' />

    I have this added to my functions that got rid of it before;

    function remove_jetpack_styles(){
    wp_deregister_style('jetpack-subscriptions'); // subscriptions
    add_action('wp_print_styles', 'remove_jetpack_styles');

    Thank you!!

Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove the CSS’ is closed to new replies.