LocalDev Switcher
LocalDev Switcher allows you to seamlessly toggle between production plugins and themes and their local development versions. Usage: Place your local dev version of a plugin in: wp-content/plugins/localdev-{plugin-slug} You should now have two directories containing the same plugin inside your /plug
LocalDev Switcher allows you to seamlessly toggle between production plugins and themes and their local development versions.
Usage:
- 01Place your local dev version of a plugin in: wp-content/plugins/localdev-{plugin-slug}
- 02You should now have two directories containing the same plugin inside your /plugins/ : /plugins/your-plugin/ – Loaded from VCS/WordPress.org Plugins/etc.
- 03/plugins/localdev-your-plugin/ – Your local development version
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.
Screenshots & previews.
- 01Upload the plugin folder to the /wp-content/plugins/ directory.
- 02Activate the plugin through the ‘Plugins’ menu in WordPress.
- 03Follow the usage instructions to begin switching between plugin versions.
Frequently asked questions.
Does this work with themes?
Yes, setup your theme for local development using the pattern localdev-{theme-slug} .