• Resolved Nick

    (@kercommunications)


    I recently noticed a new style sheet being loaded, but I don’t see what module it is related to. What is: wp-content/plugins/jetpack/modules/simple-payments/simple-payments.css and how do I disable it?

Viewing 12 replies - 1 through 12 (of 12 total)
  • I would like to know the answer to this as well. I checked the speed of my website and the analysis notified me that my entire site is slow because it first has to load this simple payments file. I don’t have any ecommerce on my site. I’d like to disable this, but can’t figure out where.

    I could completely disable jetpack, I guess.

    I have the same question. Google PageSpeed says it is contributing to slowing down my site.

    Step 1: Use ftp client(i.e., filezilla) to navigate to the folder.
    wp-content -> plugins -> jetpack -> modules -> simple-payments

    Step 2: Download the folder in local disk

    Step 3: Delete the folder

    Step 4: Refresh and Run page speed insights to check speed.

    I have tried this on my website and it worked fine!Print N Gift – Hyderabad

    Same here. I also noticed the simple-payments.css file in my header.

    Couldn’t find any options in the Jetpack settings.

    +1

    Same question, I have no idea what it is, why it gets loaded and why we can not switch it off. Funny, the better Jetpack thinks they are becoming, the more annoyed I get with Jetpack. Why fix something that is not broken, oh wait… because the business model is leading the way. To where I wonder, people looking for other options maybe?

    The simple fact that just removing the module has no adverse side effects, suggests it shouldn’t be there in the first place. Bloatware.

    The simple fact that just removing the module has no adverse side effects, suggests it shouldn’t be there in the first place. Bloatware.

    There is this on their GitHub repo. Guess they plan to make it a module you can enable/disable in due course. Pity we have to be stuck with bloatware in the meantime.

    Plugin Contributor Adam Heckler

    (@adamkheckler)

    All,

    Our developers are working on making that CSS file load on-demand. In the meantime, you can use this code snippet to stop it from loading:

    https://github.com/Automattic/jetpack/issues/7609#issuecomment-320992608

    The downside to doing so is that you’ll need to remember to remove that code in the future. Considering the CSS file is fairly small in the first place, my personal suggestion would be to just leave it be for now, but that’s up to each individual person I suppose. ??

    Into your function file ;

    add_action( 'wp_print_styles', 'my_deregister_styles', 100 );
    function my_deregister_styles() {
       wp_dequeue_style('simple-payments'); 
    }

    This is working until they going to fix or next upgrade, etc.

    “Our developers are working on making that CSS file load on-demand.”

    And why isn’t that the default way of programming in the Jetpack team, I wonder… So we can fix it ourselves? Geee-wiz, how nice.

    Hello,

    This is how you can disable JetPack Simple Payments CSS

    1. Install and activate a plugin called Real-Time Find and Replace
    2. Go to Tools > its UI
    3. In find field, add
    <link rel="stylesheet" id="simple-payments-css" href="https://www.yourdomain.com/wp-content/plugins/jetpack/modules/simple-payments/simple-payments.css?ver=4.8.1" type="text/css" media="all"/>
    4. In replace, fill <!-- JetPack simple payment css removed -->
    5. Update settings

    Done. Check source code again.

    Thanks & Regards,
    Gulshan

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘What is “simple payments” module and how do I disable it?’ is closed to new replies.