Support » Plugin: Jetpack by » Jetpack First activation and auto-activation

  • Resolved StelleDiPolvere


    By default my hosting install Jetpack on wordpress
    (Deactivated). I would like to use it.

    I never activated it, and i know that if i will do that it will disrupt my website for various incompatibility with WordPress Seo (open-graph issue ), simple Lightbox ( probably will be incompatible with Carousel) and probably others…
    This is a list of plugin that i’m using right now
    Akismet, Custom Upload Dir, Fast Secure Contact Form, FooTable, Hello, Dolly, Jetpack by, NK Google Analytics, Page-list, Redirection, Reveal IDs, Simple Lightbox, WordPress SEO

    Can i add something in some file to disable all automatic activationof all jetpack module?
    I read this: but i didn’t figured out if this is what i need… and in which file to add the code. I’m sorry…

    Can you help me please?

    Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Jeremy Herve


    Jetpack Mechanic 🚀

    I would recommend that you enable Jetpack, and then head over to the Jetpack menu and deactivate any modules that you do not plan on using. You can do so by following the instructions here:

    Various incompatibility with WordPress SEO (open-graph issue )

    We fixed this issue a year ago, so that’s not a problem anymore.

    Looking at your list of plugins, you’ll probably want to deactivate the Carousel module as well as the Contact Form module, since you already use Fast Secure Contact Form and Simple Lightbox.
    If you do not want to deactivate the 2 modules by hand, you can use the code given in the tutorial you linked to earlier, like so:

    // Disable the auto-activation of Jetpack's Contact Form and Carousel modules:
    add_filter( 'jetpack_get_default_modules', 'disable_jetpack_contact_carousel_autoactivate' );
    function disable_jetpack_contact_carousel_autoactivate( $modules ) {
    	return array_diff( $modules, array( 'contact-form, carousel' ) );

    You can place this code in a functionality plugin or in your theme’s functions.php file.

    Jeremy Herve thanks for the quick response! It is always nice to see a tech savvy person like you that quickly answers to questions! 🙂

    If you wanted all Jetpack modules to be deactivated by default, you could use the following code:

    add_filter( 'jetpack_get_default_modules', '__return_empty_array' );

    If I want to do that, I just need to write this line and nothing else in function.php?
    And than manually activate each module…?

    Thanks in advance!

    Plugin Author Jeremy Herve


    Jetpack Mechanic 🚀

    If I want to do that, I just need to write this line and nothing else in function.php?

    That’s correct.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Jetpack First activation and auto-activation’ is closed to new replies.