开发者 |
lelandf
themetry |
---|---|
更新时间 | 2020年9月24日 22:17 |
PHP版本: | 4.6 及以上 |
WordPress版本: | 5.5.1 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
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.”
/wp-content/plugins/development-mode-for-jetpack
directory, or install the plugin through the WordPress plugins screen directly.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 for the tip.
That couldn't be further from the truth. I support Jetpack feature(s) in every single one of my 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.
There isn’t one! Activate this plugin if you want to enable Jetpack Development Mode. Deactivate if you don’t.
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.
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 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.