Linux 软件免费装
Banner图

LocalDev Switcher

开发者 TheWebist
更新时间 2025年12月23日 04:11
PHP版本: 8.1 及以上
WordPress版本: 6.9
版权: GPL2+
版权网址: 版权信息

标签

development themes plugins workflow local development plugin management

下载

0.6.9 0.6.8 0.7.0 0.8.0

详情介绍:

LocalDev Switcher allows you to seamlessly toggle between production plugins and themes and their local development versions. Usage:
  1. Place your local dev version of a plugin in:
wp-content/plugins/localdev-{plugin-slug} 2. You should now have two directories containing the same plugin inside your /plugins/: 1. /plugins/your-plugin/ - Loaded from VCS/WordPress.org Plugins/etc. 2. /plugins/localdev-your-plugin/ - Your local development version 3. Use LocalDev Switcher to toggle between the version-controlled and local versions. The toggle UI appears in the plugin meta row. LocalDev Switcher prevents double-loading and ensures only the desired version is active. For theme support, follow the same pattern as for plugin support. Setup your local version of your theme inside the theme directory using localdev-{theme-slug} for the local version's directory name.

安装:

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Follow the usage instructions to begin switching between plugin versions.

屏幕截图:

  • Toggle between VCS and Local versions of your plugins in the Plugins list.
  • Switch between Local and VCS versions of your currently active theme.

升级注意事项:

0.6.3 Initial release.

常见问题:

Does this work with themes?

Yes, setup your theme for local development using the pattern localdev-{theme-slug}.

What happens if I don't have a localdev-{plugin-slug} version?

LocalDev Switcher will default to using the version-controlled plugin.

更新日志:

0.8.0 0.7.0 0.6.9 0.6.8 0.6.7 0.6.6 0.6.5 0.6.4 0.6.3