Title: Development Mode for Jetpack
Author: lelandf
Published: <strong>2017 年 6 月 4 日</strong>
Last modified: 2020 年 9 月 24 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/development-mode-for-jetpack.svg)

# Development Mode for Jetpack

 作者：[lelandf](https://profiles.wordpress.org/lelandf/)

[下载](https://downloads.wordpress.org/plugin/development-mode-for-jetpack.zip)

 * [详情](https://cn.wordpress.org/plugins/development-mode-for-jetpack/#description)
 * [评价](https://cn.wordpress.org/plugins/development-mode-for-jetpack/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/development-mode-for-jetpack/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/development-mode-for-jetpack/#developers)

 [支持](https://wordpress.org/support/plugin/development-mode-for-jetpack/)

## 描述

Contrary to popular belief, [Jetpack](https://wordpress.org/plugins/jetpack/) does
not require you to connect your website to WordPress.com before you can use it at
all.

Several Jetpack modules are self-contained and do not require a WordPress.com connection
to function:

 * Asset CDN
 * Beautiful Math
 * Carousel
 * Contact Form
 * Copy Post
 * Custom CSS
 * Custom content types
 * Extra Sidebar Widgets
 * Gravatar Hovercards
 * Infinite Scroll
 * Lazy Images
 * Markdown
 * Sharing
 * Shortcode Embeds
 * Site verification
 * Sitemaps
 * Tiled Galleries*
 * Widget Visibility

The Development Mode for Jetpack plugin enables (wait for it…) [Jetpack Development Mode](https://jetpack.com/support/development-mode/),
which does two things:

 * Eliminates “nags” to connect a Jetpack-enabled site to WordPress.com.
 * Allows usage of modules that do not require a WordPress.com connection.

It also means you can stop using individual Jetpack modules that have been forked
out into standalone plugins by random people. These plugins tend to be unsupported
and out of step with the latest version of the official Jetpack equivalent.

Please note that _this plugin requires Jetpack_ to be activated alongside it to 
be of any use, and _will not help_ with the following modules that do require a 
WordPress.com connection:

 * Ads
 * Backups and Scanning
 * Comment Likes
 * Comments
 * Enhanced Distribution
 * Google Analytics
 * Image CDN
 * JSON API
 * Likes
 * Monitor
 * Notifications
 * Post by email
 * Protect
 * Publicize
 * Related posts
 * SEO Tools
 * Search
 * Secure Sign On
 * Site Stats
 * Subscriptions
 * VideoPress
 * WP.me Shortlinks
 * WooCommerce Analytics
 * WordPress.com Toolbar

Lists of Jetpack modules in this plugin description should not be considered comprehensive
or authoritative, and may change at any time.

 * According to the previously linked documentation page for Jetpack Development
   mode:

> Tiled Galleries requires the WordPress.com Photon CDN; however, in Development
> Mode, Jetpack provides a fallback so developers can have a similar experience 
> during development and testing.

Other modules may also have “reduced functionality” but retain “a good-faith representation
of the feature.”

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/development-mode-for-jetpack`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. That is it. There is no settings page.

## 常见问题

### How can I see a full list of modules I can activate in Jetpack with Development Mode enabled?

On your website with both Jetpack and Development Mode for Jetpack enabled, go to`
example.com/wp-admin/admin.php?page=jetpack_modules`, replacing `example.com` with
your website URL.

On that page, you will see a complete list of modules available for activation with
Development Mode.

Props to [Ben Gillbanks](https://www.binarymoon.co.uk/2017/01/wordpress-jetpack-admin-backup-problems/)
for the tip.

### You sound like a Jetpack hater! Is that true?

That couldn’t be further from the truth.

I support Jetpack feature(s) in every single one of my [themes](https://themetry.com/themes/).
An odd thing for a “hater” to do, isn’t it?

Many of the Jetpack features I support in my themes are derived from the aforementioned,
self-contained modules. Jetpack Development Mode makes it easier to develop by eliminating
unnecessary tasks.

### Where is the settings page?

There isn’t one!

Activate this plugin if you want to enable Jetpack Development Mode. Deactivate 
if you don’t.

### Can’t I get the same effect by adding a line to my theme’s functions.php file, or plopping this into an mu-plugin?

You sure can! Here’s the line you would need to add:

    ```
    add_filter( 'jetpack_development_mode', '__return_true' );
    ```

Activating a plugin like this is just one approach. I prefer it, and you may prefer
another.

To each their own.

### How does this plugin differ from other plugins in the repository that do the same thing?

One comparable plugin I could find hasn’t been updated in over 2 years. While such
a simple, one-line plugin needs minimal maintenance, it would be nice if it was 
periodically tested with the latest versions of Jetpack and WordPress to ensure 
smooth operation.

I plan on doing that, since I use Jetpack Development Mode very often.

That other plugin also [ships with translations](https://make.wordpress.org/plugins/2015/09/01/plugin-translations-on-wordpress-org/)
and includes a textdomain loading function. My plugin does not.

Finally, my plugin uses a slightly different, more defensive coding style that ensures
Jetpack is active and loaded, prior to running any pertinent code.

Not huge differences, but I do want to note the differentiation.

## 评价

此插件暂无评价。

## 贡献者及开发者

「Development Mode for Jetpack」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ lelandf ](https://profiles.wordpress.org/lelandf/)
 *   [ Themetry ](https://profiles.wordpress.org/themetry/)

「Development Mode for Jetpack」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/development-mode-for-jetpack/contributors)
为本插件所做的贡献。

[帮助将「Development Mode for Jetpack」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/development-mode-for-jetpack)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/development-mode-for-jetpack/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/development-mode-for-jetpack/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/development-mode-for-jetpack/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/development-mode-for-jetpack/)。

## 更新日志

#### 1.0.2

 * Tested and working with WordPress 5.5.1 and Jetpack 8.9.1.
 * Update readme with updated Jetpack module list.
 * Remove unnecessary Jetpack class_exists() check.

#### 1.0.1

 * Tested and working with WordPress 4.8 and Jetpack 5.0

#### 1.0.0

 * Initial release

## 额外信息

 *  版本 **1.0.2**
 *  最后更新：**6 年前**
 *  活跃安装数量 **20+**
 *  WordPress 版本 ** 4.6 或更高版本 **
 *  已测试的最高版本为 **5.5.18**
 *  语言
 * [English (US)](https://wordpress.org/plugins/development-mode-for-jetpack/) 和
   [Norwegian (Bokmål)](https://nb.wordpress.org/plugins/development-mode-for-jetpack/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/development-mode-for-jetpack)
 * 标签
 * [jetpack](https://cn.wordpress.org/plugins/tags/jetpack/)
 *  [高级视图](https://cn.wordpress.org/plugins/development-mode-for-jetpack/advanced/)

## 评级

尚未提交反馈。

[Your review](https://wordpress.org/support/plugin/development-mode-for-jetpack/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/development-mode-for-jetpack/reviews/)

## 贡献者

 *   [ lelandf ](https://profiles.wordpress.org/lelandf/)
 *   [ Themetry ](https://profiles.wordpress.org/themetry/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/development-mode-for-jetpack/)