Skip to content

Easily identify the current git branch of your symlinked WordPress plugins.

Notifications You must be signed in to change notification settings

josephfusco/symlinked-plugin-branch

Repository files navigation

Symlinked Plugin Branch

Packagist

Easily identify the current git branch of your symlinked WordPress plugins.

Screen Shot 2023-01-26 at 10 46 19 PM

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>

About

Easily identify the current git branch of your symlinked WordPress plugins.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published