Useful Snippets


This blog is used to collect useful snippets related to Linux, PHP, MySQL and more. Feel free to post comments with improvements or questions!

Are your smart devices spying on you? Make better purchasing choices and find products that respect your privacy at

RSS Latest posts from my personal blog

Most viewed posts

Subscribe to RSS feed

Use Jetpack without connecting a WordPress account

Stanislav KhromovStanislav Khromov

There is a nifty developer mode that makes it possible to use Jetpack without connecting a account to your site – making it essentially “offline-mode”. If you’re a user of the now deprecated JP Plugins that allowed you to use Jetpack features without Jetpack itself, this is a good alternative.

To enable developer mode, you can either put the following in your wp-config.php file:

define( 'JETPACK_DEV_DEBUG', true);

…or you can add this filter to a plugin or your themes functions.php file:

add_filter( 'jetpack_development_mode', '__return_true' );

This tweak is also available in plugin form! Head over to to download Unplug Jetpack!

When using the development mode, some Jetpack features aren’t available, here is the complete list of available and unavailable features: jetpack-lite

While you don’t connect Jetpack to an account, some of the available features (like Sharing buttons) might still make calls to the Jetpack servers.

Web Developer at Aftonbladet (Schibsted Media Group)
Any opinions on this blog are my own and do not reflect the views of my employer.
Twitter Profile
Visit my other blog

Comments 2
  • Nico
    Posted on

    Nico Nico

    Reply Author

    The mentioned plugin was not updated for 6 years now. I also dont know how old this blog post is, but that sounds just great! Do you know if it still works in 2021?

    I think it would be great to add the Post Date somewhere on your blog, so people know when you have written a specific post.

  • Stanislav Khromov
    Posted on

    Stanislav Khromov Stanislav Khromov

    Reply Author

    Hey Nico,
    Thanks for your comment.

    The `JETPACK_DEV_DEBUG` constant does still work! You can find more documentation about it here:

    All the plugin does is activate this constant, it has no other moving parts.

    Sorry about the post date, it’s a theme issue – it’s visible in the bottom left on a desktop device.