چۈشەندۈرۈش
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
/plugins/:/plugins/your-plugin/– Loaded from VCS/WordPress.org Plugins/etc./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.
ئېكران كەسمىسى
ئورنىتىش
- Upload the plugin folder to the
/wp-content/plugins/directory. - Activate the plugin through the ›Plugins‹ menu in WordPress.
- Follow the usage instructions to begin switching between plugin versions.
FAQ
-
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.
باھالاشلار
بۇ قىستۇرمىغا تېخى باھا يېزىلمىدى.
تۆھپىكار ۋە ئىجادكار
«LocalDev Switcher» كودى ئوچۇق يۇمشاق دېتال. تۆۋەندىكى كىشىلەر بۇ قىستۇرمىغا تۆھپە قوشقان.
تۆھپىكار«LocalDev Switcher» نى تىلىڭىزغا تەرجىمە قىلىڭ
ئىجادىيەتكە قىزىقامسىز؟
كودقا كۆز يۈگۈرتۈپ، SVN خەزىنە تەكشۈرۈپ ياكى RSSئارقىلىق ئىجادىيەت خاتىرىسىگە مۇشتەرى بولغىلى بولىدۇ.
ئۆزگىرىش خاتىرىسى
0.8.0
- Adding WordPress theme support. Now you can switch between Local and VCS versions of your currently active theme.
0.7.0
- Adding
update-assets.ymlaction for futureTested up toedits without a full deploy.
0.6.9
- Adding proper perms for uploading ZIP to GitHub release.
0.6.8
- Updating deploy action to follow latest conventions for
10up/action-wordpress-plugin-deploy. - Adding WordPress.org Plugin
/assets/via/.wordpress-org/.
0.6.7
- Updating deploy action
10up/action-wordpress-plugin-deploytov1.4.0to support our current, simple deploy workflow.
0.6.6
- Fixing deploy action version
0.6.5
- Releasing on WordPress.org Plugins.
0.6.4
- Updating method for finding plugins within
/plugins/. - Updating «Usage» documentation for clarity.
0.6.3
- First public release. Toggle between VCS and local plugin versions via
localdev-{plugin-slug}pattern.



