Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/josephfusco/symlinked-plugin-branch
Easily identify the current git branch of your symlinked WordPress plugins.
https://github.com/josephfusco/symlinked-plugin-branch
wordpress wordpress-development wordpress-plugin
Last synced: 16 days ago
JSON representation
Easily identify the current git branch of your symlinked WordPress plugins.
- Host: GitHub
- URL: https://github.com/josephfusco/symlinked-plugin-branch
- Owner: josephfusco
- Created: 2022-04-25T19:14:17.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-18T02:20:27.000Z (6 months ago)
- Last Synced: 2024-10-24T10:32:24.246Z (25 days ago)
- Topics: wordpress, wordpress-development, wordpress-plugin
- Language: PHP
- Homepage:
- Size: 27.3 KB
- Stars: 7
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Symlinked Plugin Branch
[![Packagist](https://img.shields.io/packagist/v/josephfusco/symlinked-plugin-branch.svg?style=flat-square)](https://packagist.org/packages/josephfusco/symlinked-plugin-branch)
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](https://localwp.com/).
> _Note that the [Faust WordPress plugin](https://wordpress.org/plugins/faustwp/) source code lives inside the [wpengine/faustjs](https://github.com/wpengine/faustjs) so the plugin would display the branch of the faustjs monorepo._
### Create the symlink
```sh
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 `