Issue
It used to works before maybe a year ago. now i'm trying to build new plugin using symlink. but wordpress not detecting that symlinked plugin.
i tried ln -s /plugin-source/ /site/wp-content/plugins/plugin-name
i've also tried using 'sudo ln'. but it's not showing in wordpress plugin. when i copy it directly it works fine. anyone know why symlinked plugin not detected by latest wordpress? Thanks!
Update
answer below works. in my case it was osx not letting wordpress to access symlinked pluging from my desktop (not sure what's reason). so i move it to htdoc directory and it worked fine.
Solution
According to your comment, it seems to me that you have tried to add it as a relative path. You should be able to make it work using the absolute path.
sudo ln -s /Users/username/Desktop/wp_plugins/plugin-name /Applications/MAMP/htdocs/site/wp-content/plugins/plugin-name
Replace username
with your username. It should be able to fix your problem.
Answered By - Tharindu Pramuditha
0 Comments:
Post a Comment
Note: Only a member of this blog may post a comment.