跳到内容

LocalDev Switcher

v0.8.0

thewebist · 2025年7月29日 上架

Easily switch between version-controlled plugins/themes and local development versions by toggling in the Plugins and Themes screens.

正在使用
10 以下
评分
暂无
累计下载
897
最近更新
2025年12月23日
需要 WordPress 6.5+已测试到 6.9.0PHP 8.1+

贡献者

截图

Adds UI to show which plugins you can switch between VCS and Local.
Adds UI to show which plugins you can switch between VCS and Local.
Toggle between VCS and Local versions of your plugins in the Plugins list.
Toggle between VCS and Local versions of your plugins in the Plugins list.
Switch between Local and VCS versions of your currently active theme.
Switch between Local and VCS versions of your currently active theme.

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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums