josephfusco / symlinked-plugin-branch
轻松识别您已符号链接的WordPress插件的当前git分支。
1.2.1
2024-05-18 02:19 UTC
README
轻松识别您已符号链接的WordPress插件的当前git分支。
用于Faust开发的示例
以下示例将Faust WordPress插件符号链接到由Local管理的WordPress网站。
请注意,Faust WordPress插件的源代码位于wpengine/faustjs中,因此插件将显示faustjs单仓库的分支。
创建符号链接
ln -s \ ~/Code/faustjs/plugins/faustwp/ \ ~/Local\ Sites/faust/app/public/wp-content/plugins
此时,您应该能够在您的WordPress网站上看到您的插件。
您可以通过查看您网站的插件页面或使用ls -l <plugins-directory>来测试您的工作。
