Useful Snippets

A blog about DevOps, PHP, WordPress and more!

Use Jetpack without connecting a WordPress account

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:

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

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:

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.

How to Change Jetpack Accounts Without Losing Your Stats or Subscribers

If you’re using Jetpack and need to reconnect it to a site but don’t have access to the account associated with it, you can switch accounts without losing your stats or subscribers. Just follow these simple steps.

  1. Login to your self-hosted WordPress site and disconnect Jetpack.
  2. Create a new account.
  3. Connect your self-hosted WordPress site to Jetpack using the new account.

I asked George Stephanis, who is on the Jetpack development team, if users should be worried about stats and subscribers being lost in the process.

Ideally it should be smooth, and the stats should transfer automatically. Sites are indexed by domain and path, so as long as those don’t change and still match up with what we have on file, it’ll just work.

If they do change and the user winds up connected to a clean site, it’s just a quick five-minute operation for one of our Happiness Engineers to transfer stats over to the new site, so nothing is ever lost.

Leave a Reply

Your email address will not be published. Required fields are marked *