WordPress Jetpack development mode not working? You’ve tried Jetpack’s JETPACK_DEV_DEBUG parameter but still can’t activate some modules while working offline or developing locally? Me either.
You’re not alone. It turns out that this is more a feature than a bug. Or maybe it’s more of a known issue than a bug. I misunderstood some of Jetpack’s documentation and I suspect you may have too.
Here’s what their announcement says about Jetpack’s development mode (the emphasis is mine).
Of note is the new Development Mode in Jetpack. With this, features that do not require a connection to WordPress.com servers can be activated on a localhost WordPress installation for testing.
The key phrase there is that this mode only enables certain modules. Most of Jetpack’s modules require a connection to WordPress’ servers. Local or offline development doesn’t make that connection, so those modules are still off limits.
Which modules work offline?
This is the information I wish Jetpack/WordPress had made clear up front. So hopefully this saves someone the headache. Here are the lists.
Don’t work offline
- WordPress.com Stats
- Jetpack Comments
- Post by Email
- Related Posts
- Spelling and Grammar
- Widget Visibility
- Tiled Galleries
- WP.me Shortlinks
- Google+ Profile
- Shortcode Embeds
- Extra Sidebar Widgets
- Infinite Scroll
- Jetpack Single Sign On
- Enhanced Distribution
- JSON API
- Gravatar Hovercards
- Contact Form
- Custom CSS
- Mobile Theme
- Beautiful Math
I submitted several support requests on this topic, one at WordPress.org and another at Jetpack.me. In both cases, the support team was responsive and helpful. I just wish they had better news to share!
A reqgestion, if you will. I wish Jetpack could find some way to enable a offline-mode for each of these modules. I just want to see the markup each module outputs so I can style it effectively. I don’t need to submit a comment or put any of the modules through heavy use. I just need to work them into my theme!
I’m sure the Jetpack crew would tell me that I don’t have to worry about that—they’ve styled them for me already. No way. I have a well-documented history of removing default Jetpack CSS and replacing it with my own. And this being WordPress, arguably the most user-friendly publishing platform on the web, you’d think that the Jetpack team would extend that user-friendliness to developers too.
Also, why do modules like Widget Visibility, Google+ Profile, Extra Sidebar Widgets, and Related Posts need to phone home in the first place?
Your ideas intrigue me. I wish to subscribe to your newsletter.
just discovered this development mode thingie.
luckily, I just wanted to enable the Markdown module on the local dev installation, which is supposedly supported.
sadly though, it says it’s enabled, but Markdown is not rendered.
by the way, off topic, but what commenting system do you use here? it looks nice.
Thanks for your comment, Itamar. I’ve never used markdown, so I’m afraid I can’t help there. I’m using Jetpack for comments. Very smooth!
I think the whole Jetpack approach is awful. Sure, there are features where connecting to the mothership is the only way you could possibly do something but infinite scrolling? C’mon. I see what’s in it for Automattic but not for me.
Meanwhile wordpress.com is developing an unhealthy dependency on Jetpack that’s far ahead of the documentation. The WordPress Codex is excellent and that should be the standard for things that Automattic turn into dependencies IMO.