A simple plugin to run JetPack locally

We don’t need to modify the wp-config.php file as before with:

define ('JETPACK_DEV_DEBUG', true);

to run JetPack in the development mode.

By using the jetpack_development_mode filter described here, we can construct this simple plugin:

 * Plugin Name: Run JetPack locally
 * Plugin URI:  https://github.com/birgire/run-jetpack-locally
 * Author:      birgire
 * Version:     0.0.3

// Activate the development mode:

to make your life easier 😉 and it’s available on GitHub.

This class method of the JetPack class contains the filter:

	 * Is Jetpack in development (offline) mode?
	public static function is_development_mode() {
		$development_mode = false;

		if ( defined( 'JETPACK_DEV_DEBUG' ) ) {
			$development_mode = JETPACK_DEV_DEBUG;

		elseif ( site_url() && false === strpos( site_url(), '.' ) ) {
			$development_mode = true;

		return apply_filters( 'jetpack_development_mode', $development_mode );

Facebook Debug Links – wordpress plugin

Download the plugin here:

This plugin adds a link in the row-action section to view the page/post in the Facebook Debugger:

This plugin adds a metabox on the post/page screen:

Only published posts/pages will get Facebook Debug links.

YouList – Youtube playlist shortcode – wordpress plugin

Download the plugin here:

Support Open Source developement:

The plugin supports both single and multi site WordPress installs.


How to use this plugin?
When you have installed it, you can for example start by pasting this shortcode into your WordPress post editor:

[youlist pid="PL3FF15AA7ED356D9F"]

like this:


and preview the post. Then you can change the pid value to match your own playlist.

The above pid value is taken from this playlist url:


You can then try out the usage examples given below or here:


There is a small playlist icon in the bottom right corner

http://cjgrasso.com/world16 (responsive and with hd playback)

Few usage examples:

Example: Adele YouTube playlist with thumbnails

[youlist pid="PL3FF15AA7ED356D9F"]

Example: Adele YouTube playlist with custom styling

[youlist pid="PL3FF15AA7ED356D9F" style="width:400px;height:300px;z-index:1;border:2px solid gold;background-color:orange;padding:10px;"]

Example: Playlist from the search string “higgs boson”

[youlist search="higgs boson"]

Example: Playlist for uploaded videos by the user “mismag822”

[youlist uid="mismag822" listtype="user_uploads"]

Example: Playlist for favorite videos of the user “mismag822”

[youlist uid="mismag822" listtype="user_favorites"]

Example: Three YouTube videos with thumbnails

[youlist vid="ZF_K8D414-Y,sFHXWoawnt0,E2uOGOqIyC4"]

Example: Three YouTube videos without thumbnails

[youlist vid="ZF_K8D414-Y,sFHXWoawnt0,E2uOGOqIyC4" showinfo="0" ]