josephfusco/symlinked-plugin-branch

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

1.2.1 2024-05-18 02:19 UTC

This package is auto-updated.

Last update: 2024-05-18 02:20:30 UTC


README

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>