{"id":243612,"date":"2025-07-29T14:09:35","date_gmt":"2025-07-29T14:09:35","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/localdev-switcher\/"},"modified":"2025-12-22T20:11:33","modified_gmt":"2025-12-22T20:11:33","slug":"localdev-switcher","status":"publish","type":"plugin","link":"https:\/\/sr.wordpress.org\/plugins\/localdev-switcher\/","author":40142,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.8.0","stable_tag":"0.8.0","tested":"6.9.0","requires":"6.5","requires_php":"8.1","requires_plugins":null,"header_name":"LocalDev Switcher","header_author":"Michael Wender","header_description":"Toggle between VCS and local development versions of plugins using the localdev-{plugin-slug} pattern. Place local development versions in wp-content\/plugins\/localdev-{plugin-slug} and use this plugin to toggle between versions from the Plugins screen.","assets_banners_color":"ecf1f7","last_updated":"2025-12-22 20:11:33","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/wordpress.org\/plugins\/localdev-switcher\/","header_author_uri":"https:\/\/mwender.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":441,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.6.8":{"tag":"0.6.8","author":"TheWebist","date":"2025-07-29 14:09:15"},"0.6.9":{"tag":"0.6.9","author":"TheWebist","date":"2025-07-29 14:37:53"},"0.7.0":{"tag":"0.7.0","author":"TheWebist","date":"2025-12-02 18:10:58"},"0.8.0":{"tag":"0.8.0","author":"TheWebist","date":"2025-12-22 20:11:33"}},"upgrade_notice":{"0.6.3":"<p>Initial release.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3336022,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3336022,"resolution":"256x256","location":"assets","locale":""},"icon.svg":{"filename":"icon.svg","revision":3336022,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3336022,"resolution":"1544x500","location":"assets","locale":""},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3336022,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.6.8","0.6.9","0.7.0","0.8.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":3336022,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":3336022,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":3425638,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"Adds UI to show which plugins you can switch between VCS and Local.","2":"Toggle between VCS and Local versions of your plugins in the Plugins list.","3":"Switch between Local and VCS versions of your currently active theme."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[734,23848,27283,2391,1249],"plugin_category":[43],"plugin_contributors":[83246],"plugin_business_model":[],"class_list":["post-243612","plugin","type-plugin","status-publish","hentry","plugin_tags-development","plugin_tags-local-development","plugin_tags-plugin-management","plugin_tags-plugins","plugin_tags-themes","plugin_category-customization","plugin_contributors-thewebist","plugin_committers-thewebist"],"banners":{"banner":"https:\/\/ps.w.org\/localdev-switcher\/assets\/banner-772x250.png?rev=3336022","banner_2x":"https:\/\/ps.w.org\/localdev-switcher\/assets\/banner-1544x500.png?rev=3336022","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/localdev-switcher\/assets\/icon.svg?rev=3336022","icon":"https:\/\/ps.w.org\/localdev-switcher\/assets\/icon.svg?rev=3336022","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/localdev-switcher\/assets\/screenshot-1.png?rev=3336022","caption":"Adds UI to show which plugins you can switch between VCS and Local."},{"src":"https:\/\/ps.w.org\/localdev-switcher\/assets\/screenshot-2.png?rev=3336022","caption":"Toggle between VCS and Local versions of your plugins in the Plugins list."},{"src":"https:\/\/ps.w.org\/localdev-switcher\/assets\/screenshot-3.png?rev=3425638","caption":"Switch between Local and VCS versions of your currently active theme."}],"raw_content":"<!--section=description-->\n<p>LocalDev Switcher allows you to seamlessly toggle between production plugins and themes and their local development versions.<\/p>\n\n<p><strong>Usage:<\/strong><\/p>\n\n<ol>\n<li><p>Place your local dev version of a plugin in:<\/p>\n\n<p>wp-content\/plugins\/localdev-{plugin-slug}<\/p><\/li>\n<li><p>You should now have two directories containing the same plugin inside your <code>\/plugins\/<\/code>:<\/p>\n\n<ol>\n<li><code>\/plugins\/your-plugin\/<\/code> - Loaded from VCS\/WordPress.org Plugins\/etc.<\/li>\n<li><code>\/plugins\/localdev-your-plugin\/<\/code> - Your local development version<\/li>\n<\/ol><\/li>\n<li>Use LocalDev Switcher to toggle between the version-controlled and local versions. The toggle UI appears in the plugin meta row.<\/li>\n<\/ol>\n\n<p>LocalDev Switcher prevents double-loading and ensures only the desired version is active.<\/p>\n\n<p>For theme support, follow the same pattern as for plugin support. Setup your local version of your theme inside the theme directory using <code>localdev-{theme-slug}<\/code> for the local version's directory name.<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the plugin folder to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Follow the usage instructions to begin switching between plugin versions.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='does%20this%20work%20with%20themes%3F'><h3>Does this work with themes?<\/h3><\/dt>\n<dd><p>Yes, setup your theme for local development using the pattern <code>localdev-{theme-slug}<\/code>.<\/p><\/dd>\n<dt id='what%20happens%20if%20i%20don%27t%20have%20a%20%60localdev-%7Bplugin-slug%7D%60%20version%3F'><h3>What happens if I don't have a `localdev-{plugin-slug}` version?<\/h3><\/dt>\n<dd><p>LocalDev Switcher will default to using the version-controlled plugin.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.8.0<\/h4>\n\n<ul>\n<li>Adding WordPress theme support. Now you can switch between Local and VCS versions of your currently active theme.<\/li>\n<\/ul>\n\n<h4>0.7.0<\/h4>\n\n<ul>\n<li>Adding <code>update-assets.yml<\/code> action for future <code>Tested up to<\/code> edits without a full deploy.<\/li>\n<\/ul>\n\n<h4>0.6.9<\/h4>\n\n<ul>\n<li>Adding proper perms for uploading ZIP to GitHub release.<\/li>\n<\/ul>\n\n<h4>0.6.8<\/h4>\n\n<ul>\n<li>Updating deploy action to follow latest conventions for <code>10up\/action-wordpress-plugin-deploy<\/code>.<\/li>\n<li>Adding WordPress.org Plugin <code>\/assets\/<\/code> via <code>\/.wordpress-org\/<\/code>.<\/li>\n<\/ul>\n\n<h4>0.6.7<\/h4>\n\n<ul>\n<li>Updating deploy action <code>10up\/action-wordpress-plugin-deploy<\/code> to <code>v1.4.0<\/code> to support our current, simple deploy workflow.<\/li>\n<\/ul>\n\n<h4>0.6.6<\/h4>\n\n<ul>\n<li>Fixing deploy action version<\/li>\n<\/ul>\n\n<h4>0.6.5<\/h4>\n\n<ul>\n<li>Releasing on <a href=\"https:\/\/wordpress.org\/plugins\/localdev-switcher\/\">WordPress.org Plugins<\/a>.<\/li>\n<\/ul>\n\n<h4>0.6.4<\/h4>\n\n<ul>\n<li>Updating method for finding plugins within <code>\/plugins\/<\/code>.<\/li>\n<li>Updating \"Usage\" documentation for clarity.<\/li>\n<\/ul>\n\n<h4>0.6.3<\/h4>\n\n<ul>\n<li>First public release. Toggle between VCS and local plugin versions via <code>localdev-{plugin-slug}<\/code> pattern.<\/li>\n<\/ul>","raw_excerpt":"Easily switch between version-controlled plugins\/themes and local development versions by toggling in the Plugins and Themes screens.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/243612","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=243612"}],"author":[{"embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/thewebist"}],"wp:attachment":[{"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=243612"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=243612"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=243612"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=243612"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=243612"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/sr.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=243612"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}