josephfusco / symlinked-plugin-branch
Easily identify the current git branch of your symlinked WordPress plugins.
Installs: 4
Dependents: 0
Suggesters: 0
Security: 0
Stars: 7
Watchers: 3
Forks: 0
Open Issues: 0
Type:wordpress-plugin
README
Easily identify the current git branch of your symlinked WordPress plugins.
Example for Faust development
The following example will symlink the Faust WordPress plugin into a WordPress site managed by Local.
Note that the Faust WordPress plugin source code lives inside the wpengine/faustjs so the plugin would display the branch of the faustjs monorepo.
Create the symlink
ln -s \ ~/Code/faustjs/plugins/faustwp/ \ ~/Local\ Sites/faust/app/public/wp-content/plugins
At this point, you should be able to see your plugin within your WordPress site.
You can test your work by viewing the plugins page of your website, or by using ls -l <plugins-directory>