How to Disable Photon in JetPack

Just a quick tip to share how you can disable Photon, one of the features in Jetpack. A reason to do this might be to have more control over the cropped and resized images it generates.

You just need to go to the JetPack page, then click on ‘Learn more’ in the Photon box, and then ‘Deactivate’.

There’s also a way to do it via code:

If you want to confirm whether JetPack is active, you can use this code:

If you enjoyed this post, make sure to subscribe to WP Mayor’s RSS feed.

About Jean Galea

Jean Galea is a WordPress developer, entrepreneur and padel player. He is the founder of WP Mayor, the plugins WP RSS Aggregator and EDD Bookings, as well as the podcast. His personal blog can be found at

Related Articles

  • How to Disable Password Change Notifications in WordPress

    If you want to disable the email notifications for password changes of users on your WordPress site, just insert this piece of code into your theme's functions.php file or create a…

  • All the options currently available for turning off commenting on WordPress pages, posts or custom post types. Check out the various alternatives and choose the one you like best.

  • Disable Plugin Stylesheets

    Learn how to disable a WordPress plugin's stylesheet and use your own stylesheet instead. Reasons why you would want to do this are various, for example load speed optimisation and…

One Response

  1. Anthony R Locke
    Anthony R Locke May 24, 2018 at 08:26 | | Reply

    Does the code go in the functions file or can I add it to the css area?

Leave a Reply