In this article we will show you how to get some Jetpack features without connecting to WordPress.com.
Unplug Jetpack was created by WordPress developer Tanner Moushey and it allows you to turn development mode on/off using a plugin so that you can use features that do not require a connection to WordPress.com servers. Unplug Jetpack uses the Jetpack-supported method for doing this and consists of just a couple lines of code:
[code language="php"]
function uj_init() {
add_filter( 'jetpack_development_mode', '__return_true' );
}
add_action( 'plugins_loaded', 'uj_init' );
[/code]
Alternatively, you can also use the following PHP code and add to your wp-config.php file.
[code language="php"]
define( 'JETPACK_DEV_DEBUG', true);
[/code]